markitdown 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/README.md +2 -2
- data/lib/markitdown/version.rb +1 -1
- data/markitdown.gemspec +1 -1
- metadata +5 -5
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Markitdown
|
1
|
+
# Markitdown [![Build Status](https://secure.travis-ci.org/cpetersen/markitdown.png)](http://travis-ci.org/cpetersen/markitdown)
|
2
2
|
|
3
3
|
Markitdown is a Ruby library that converts HTML to Markdown. It's powered by Nokogiri. It supports:
|
4
4
|
|
@@ -36,7 +36,7 @@ Markitdown.from_html(html)
|
|
36
36
|
```Markitdown``` uses Nokogiri internally. If you already have a Nokogiri object you can use ```from_nokogiri```
|
37
37
|
|
38
38
|
```ruby
|
39
|
-
Markitdown.
|
39
|
+
Markitdown.from_nokogiri(nokogiri_node)
|
40
40
|
```
|
41
41
|
|
42
42
|
## Example
|
data/lib/markitdown/version.rb
CHANGED
data/markitdown.gemspec
CHANGED
@@ -4,7 +4,7 @@ require File.expand_path('../lib/markitdown/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Christopher Petersen"]
|
6
6
|
gem.email = ["christopher.petersen@gmail.com"]
|
7
|
-
gem.description = %q{A
|
7
|
+
gem.description = %q{A library that uses Nokogiri to parse HTML and produce Markdown}
|
8
8
|
gem.summary = %q{Converts HTML to Markdown}
|
9
9
|
gem.homepage = "https://github.com/cpetersen/markitdown"
|
10
10
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markitdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -59,8 +59,7 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
-
description: A
|
63
|
-
Markdown
|
62
|
+
description: A library that uses Nokogiri to parse HTML and produce Markdown
|
64
63
|
email:
|
65
64
|
- christopher.petersen@gmail.com
|
66
65
|
executables: []
|
@@ -68,6 +67,7 @@ extensions: []
|
|
68
67
|
extra_rdoc_files: []
|
69
68
|
files:
|
70
69
|
- .gitignore
|
70
|
+
- .travis.yml
|
71
71
|
- Gemfile
|
72
72
|
- LICENSE
|
73
73
|
- README.md
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
segments:
|
95
95
|
- 0
|
96
|
-
hash:
|
96
|
+
hash: 1329348237213820674
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
segments:
|
104
104
|
- 0
|
105
|
-
hash:
|
105
|
+
hash: 1329348237213820674
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
108
|
rubygems_version: 1.8.24
|