mmarkdown 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mmarkdown +5 -1
- data/lib/mmarkdown/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9fbbadc9018b179a5271852b8fab8bbc5fcfced
|
4
|
+
data.tar.gz: 0dcc595e0518aa5667cc6ac930405baf115761c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6af218b3d13dbb6742afdc89a573b83919a6e54fbc39554fe9015a5971cf853491bd1c158ed2e10c0bbec207ff6ccab1c999e30f815a476aeab10eda0efdfd18
|
7
|
+
data.tar.gz: 2de96ae84caca8516ac5c5209f20d85d2159a0e0eb7b5fffbf02d06d39537b36314801fe15c0be61a6b3ff0e3c4c0e87475fadf7681c227c4c748928f7fbc650
|
data/bin/mmarkdown
CHANGED
@@ -76,7 +76,11 @@ end
|
|
76
76
|
if options[:toc]
|
77
77
|
html_string = MMarkdown.new(md_string).toc_html(options[:toc])
|
78
78
|
else
|
79
|
-
html_string = MMarkdown.new(md_string,
|
79
|
+
html_string = MMarkdown.new(md_string,
|
80
|
+
title: options[:title],
|
81
|
+
style: options[:style_file],
|
82
|
+
footer: options[:footer]
|
83
|
+
).to_str
|
80
84
|
end
|
81
85
|
|
82
86
|
unless options[:stdout]
|
data/lib/mmarkdown/version.rb
CHANGED