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.
50 51 52 |
# File 'lib/kitabu/markdown.rb', line 50 def @default_markdown_options end |
.default_renderer_options ⇒ Object
Set the default markdown renderer’s options.
47 48 49 |
# File 'lib/kitabu/markdown.rb', line 47 def @default_renderer_options end |
.processor ⇒ Object
Set markdown renderer
44 45 46 |
# File 'lib/kitabu/markdown.rb', line 44 def processor @processor end |
Class Method Details
.render(text) ⇒ Object
71 72 73 |
# File 'lib/kitabu/markdown.rb', line 71 def self.render(text) processor.render(text) end |