Module: MarkdownMeta

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

Defined Under Namespace

Modules: Backend

Class Method Summary collapse

Class Method Details

.to_html(content) ⇒ Object



4
5
6
# File 'lib/markdown_meta.rb', line 4

def self.to_html(content)
  MarkdownMeta::Backend.impl.to_html(content)
end

.to_toc(content) ⇒ Object



8
9
10
# File 'lib/markdown_meta.rb', line 8

def self.to_toc(content)
  MarkdownMeta::Backend.impl.to_html(content)
end