Module: Kitabu::Markdown
- Defined in:
- lib/kitabu/markdown.rb
Defined Under Namespace
Classes: Renderer
Class Attribute Summary collapse
-
.default_markdown_options ⇒ Object
Set the default markdown options.
-
.default_renderer_options ⇒ Object
Set the default markdown renderer’s options.
-
.processor ⇒ Object
Set markdown renderer.
Class Method Summary collapse
Class Attribute Details
.default_markdown_options ⇒ Object
Set the default markdown options.
18 19 20 |
# File 'lib/kitabu/markdown.rb', line 18 def end |
.default_renderer_options ⇒ Object
Set the default markdown renderer’s options.
15 16 17 |
# File 'lib/kitabu/markdown.rb', line 15 def end |
.processor ⇒ Object
Set markdown renderer
12 13 14 |
# File 'lib/kitabu/markdown.rb', line 12 def processor @processor end |
Class Method Details
.render(text) ⇒ Object
39 40 41 |
# File 'lib/kitabu/markdown.rb', line 39 def self.render(text) processor.render(text) end |