Module: MarkdownMeta::Backend::RDiscount

Defined in:
lib/markdown_meta/backend/rdiscount.rb

Class Method Summary collapse

Class Method Details

.to_html(content) ⇒ Object



7
8
9
# File 'lib/markdown_meta/backend/rdiscount.rb', line 7

def self.to_html(content)
  ::RDiscount.new(content).to_html
end

.to_toc(content) ⇒ Object



11
12
13
# File 'lib/markdown_meta/backend/rdiscount.rb', line 11

def self.to_toc(content)
  ::RDiscount.new(content).toc_content
end