Class: Makimono::Converter::Markdown::FujiMarkdown
- Inherits:
-
Object
- Object
- Makimono::Converter::Markdown::FujiMarkdown
- Defined in:
- lib/makimono/converter/markdown/fuji_markdown.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ FujiMarkdown
constructor
A new instance of FujiMarkdown.
- #render(markdown) ⇒ Object
Constructor Details
#initialize(config) ⇒ FujiMarkdown
Returns a new instance of FujiMarkdown.
9 10 11 |
# File 'lib/makimono/converter/markdown/fuji_markdown.rb', line 9 def initialize(config) @config = config end |
Instance Method Details
#render(markdown) ⇒ Object
13 14 15 |
# File 'lib/makimono/converter/markdown/fuji_markdown.rb', line 13 def render(markdown) ::FujiMarkdown.render(markdown, option) end |