Class: Transmuter::Format::Markdown
- Inherits:
-
Object
- Object
- Transmuter::Format::Markdown
- Defined in:
- lib/transmuter/format/markdown.rb
Constant Summary collapse
- REDCARPET_OPTIONS =
[:autolink, :no_intraemphasis, :fenced_code, :gh_blockcode]
Instance Method Summary collapse
-
#initialize(markdown, options = {}) ⇒ Markdown
constructor
A new instance of Markdown.
- #to_html ⇒ Object
- #to_pdf ⇒ Object
Constructor Details
#initialize(markdown, options = {}) ⇒ Markdown
Returns a new instance of Markdown.
8 9 10 11 |
# File 'lib/transmuter/format/markdown.rb', line 8 def initialize(markdown, = {}) () @markdown = markdown end |