Class: Makimono::Converter::Markdown::FujiMarkdown

Inherits:
Object
  • Object
show all
Defined in:
lib/makimono/converter/markdown/fuji_markdown.rb

Instance Method Summary collapse

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