blogdown 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -5
- data/blogdown.gemspec +1 -2
- data/lib/blogdown/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9eba8d10ef0fb358e045c00490ded930e13cbba0
|
|
4
|
+
data.tar.gz: 3f5508967a15fbae4a3bfa7d7089432947e94a47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d6cfe69b98cecc9e6af56223a000b137aefa1837cf1591f021914ef8a48066d4c78c27e5a612348f5f88cc952d0af64e50ce888c89e6c3a852b19b2c1a07d8a
|
|
7
|
+
data.tar.gz: 8bd6b80c4b8d9ad3823893e3fce3abfddc685c23abd80a534196311996abb521afbe330bdbdb17c44847b15840449d9a5fb8142c984b5065621920b7bfa945d9
|
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Blogdown
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Features
|
|
4
|
+
* syntax highlighting
|
|
5
|
+
* easy to use
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
@@ -16,22 +18,33 @@ Or install it yourself as:
|
|
|
16
18
|
|
|
17
19
|
$ gem install blogdown
|
|
18
20
|
|
|
21
|
+
|
|
22
|
+
## What it does
|
|
23
|
+
|
|
24
|
+
This gem converts markdown files to html files
|
|
25
|
+
|
|
26
|
+
|
|
19
27
|
## Usage
|
|
20
28
|
|
|
21
29
|
Create a directory for your project
|
|
30
|
+
|
|
22
31
|
mkdir blogdown
|
|
23
32
|
|
|
24
|
-
Inside your freshly
|
|
33
|
+
Inside your freshly created folder create another folder "posts"
|
|
34
|
+
|
|
25
35
|
cd blogdown
|
|
26
36
|
mkdir posts
|
|
27
37
|
|
|
28
|
-
Now, put all your markdown
|
|
38
|
+
Now, put all your markdown files inside this "posts" folder, remember to use the `.md` extendion
|
|
29
39
|
eg. `hello.md`
|
|
30
40
|
|
|
31
|
-
If you are done, and wish to build your html, for your
|
|
32
|
-
|
|
41
|
+
If you are done, and wish to build your html, for your rich text editor,
|
|
42
|
+
navigate to your project root directory (our case 1blogdown`), And Run
|
|
43
|
+
|
|
33
44
|
blogdown build
|
|
34
45
|
|
|
46
|
+
A new directory "output" will be created and the respective output files(html) will be inside the folder
|
|
47
|
+
|
|
35
48
|
## Contributing
|
|
36
49
|
|
|
37
50
|
1. Fork it ( https://github.com/[my-github-username]/blogdown/fork )
|
data/blogdown.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["geofreyernest@live.com"]
|
|
11
11
|
spec.summary = %q{Write in markdown for your web based rich text editor}
|
|
12
12
|
spec.description = %q{ another markdown fanatic}
|
|
13
|
-
spec.homepage = ""
|
|
13
|
+
spec.homepage = "https://github.com/gernest/blogdown"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
|
@@ -26,5 +26,4 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.add_dependency "kramdown", "~> 1.4.0"
|
|
27
27
|
spec.add_dependency "coderay", "~> 1.1.0"
|
|
28
28
|
spec.add_dependency "thor", "~> 0.19.1"
|
|
29
|
-
|
|
30
29
|
end
|
data/lib/blogdown/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blogdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- gernest
|
|
@@ -137,7 +137,7 @@ files:
|
|
|
137
137
|
- spec/fixtures/output/hello.html
|
|
138
138
|
- spec/fixtures/posts/hello.md
|
|
139
139
|
- spec/spec_helper.rb
|
|
140
|
-
homepage:
|
|
140
|
+
homepage: https://github.com/gernest/blogdown
|
|
141
141
|
licenses:
|
|
142
142
|
- MIT
|
|
143
143
|
metadata: {}
|