Class: Redmine::WikiFormatting::CommonMark::Formatter
- Inherits:
-
Markdown::Formatter
- Object
- Markdown::Formatter
- Redmine::WikiFormatting::CommonMark::Formatter
- Defined in:
- lib/redmine/wiki_formatting/common_mark/formatter.rb
Constant Summary
Constants included from LinksHelper
Instance Method Summary collapse
Methods inherited from Markdown::Formatter
#extract_sections, #get_section, #initialize, #update_section
Methods included from LinksHelper
#auto_link!, #auto_mailto!, #restore_redmine_links
Constructor Details
This class inherits a constructor from Redmine::WikiFormatting::Markdown::Formatter
Instance Method Details
#to_html(*args) ⇒ Object
65 66 67 68 |
# File 'lib/redmine/wiki_formatting/common_mark/formatter.rb', line 65 def to_html(*args) result = MarkdownPipeline.call @text result[:output].to_s end |