bergamasco 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bergamasco/markdown.rb +5 -1
- data/lib/bergamasco/version.rb +1 -1
- 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: 114f4e59dc8d96bc7aea06d63e7248e3042e6301
|
4
|
+
data.tar.gz: 2c47339282a177fcc0853f6a2d3dd19986e0d868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49f2d7ff5a41ecd1a7d2b4d27daf3f6bb6b65b85398324a64781bc62854f34f2e1c0cde14bbec46765b10f8d028b8175c086dce99cada1c871aa6a1527f4f6e7
|
7
|
+
data.tar.gz: cbbc49314f39fe1bb9e95682361cc3f7aabd07b5761065d34f2320bdc92413c36b806a20d4dc2acd206185c25e7336a3c2fdf9848492dd631fba70914eaa78f3
|
data/Gemfile.lock
CHANGED
data/lib/bergamasco/markdown.rb
CHANGED
@@ -60,7 +60,11 @@ module Bergamasco
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def self.render_html(text, options={})
|
63
|
-
PandocRuby.new(text, options.except(:skip_yaml_header,
|
63
|
+
PandocRuby.new(text, options.except(:skip_yaml_header,
|
64
|
+
:separator,
|
65
|
+
:sitepath,
|
66
|
+
:authorpath,
|
67
|
+
:referencespath)).to_html
|
64
68
|
rescue Errno::ENOENT
|
65
69
|
# fallback to commonmarker if pandoc is not installed.
|
66
70
|
# Commonmarker doesn't parse or ignore yaml frontmatter
|
data/lib/bergamasco/version.rb
CHANGED