reverse_markdown 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -0
- data/bin/reverse_markdown +5 -0
- data/lib/reverse_markdown/version.rb +1 -1
- metadata +7 -5
data/README.md
CHANGED
@@ -31,6 +31,13 @@ ReverseMarkdown.parse_element content
|
|
31
31
|
ReverseMarkdown.parse_string content
|
32
32
|
````
|
33
33
|
|
34
|
+
You can also convert html files to markdown from the command line:
|
35
|
+
|
36
|
+
```sh
|
37
|
+
$ reverse_markdown file.html > file.markdown
|
38
|
+
$ cat file.html | reverse_markdown > file.markdown
|
39
|
+
````
|
40
|
+
|
34
41
|
# Tag support
|
35
42
|
|
36
43
|
Only basic html tags are supported right now. However, it should not be to difficult to add some. Feel free to contribute or notify me about missing stuff.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reverse_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -95,7 +95,8 @@ description: Map simple html back into markdown, e.g. if you want to import exis
|
|
95
95
|
html data in your application.
|
96
96
|
email:
|
97
97
|
- xijo@gmx.de
|
98
|
-
executables:
|
98
|
+
executables:
|
99
|
+
- reverse_markdown
|
99
100
|
extensions: []
|
100
101
|
extra_rdoc_files: []
|
101
102
|
files:
|
@@ -105,6 +106,7 @@ files:
|
|
105
106
|
- License-MIT
|
106
107
|
- README.md
|
107
108
|
- Rakefile
|
109
|
+
- bin/reverse_markdown
|
108
110
|
- lib/reverse_markdown.rb
|
109
111
|
- lib/reverse_markdown/errors.rb
|
110
112
|
- lib/reverse_markdown/mapper.rb
|
@@ -148,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
150
|
version: '0'
|
149
151
|
segments:
|
150
152
|
- 0
|
151
|
-
hash:
|
153
|
+
hash: 1284712434240265235
|
152
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
155
|
none: false
|
154
156
|
requirements:
|
@@ -157,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
159
|
version: '0'
|
158
160
|
segments:
|
159
161
|
- 0
|
160
|
-
hash:
|
162
|
+
hash: 1284712434240265235
|
161
163
|
requirements: []
|
162
164
|
rubyforge_project: reverse_markdown
|
163
165
|
rubygems_version: 1.8.24
|