Class: Redmine::WikiFormatting::CommonMark::Formatter

Inherits:
Markdown::Formatter show all
Defined in:
lib/redmine/wiki_formatting/common_mark/formatter.rb

Constant Summary

Constants included from LinksHelper

LinksHelper::AUTO_LINK_RE

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