Module: Unmarkdown

Defined in:
lib/unmarkdown.rb,
lib/unmarkdown/parser.rb,
lib/unmarkdown/version.rb

Defined Under Namespace

Classes: Parser

Constant Summary collapse

VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

.parse(html, options = {}) ⇒ Object

Takes an HTML string and returns a Markdown string



9
10
11
# File 'lib/unmarkdown.rb', line 9

def parse(html, options = {})
  Parser.new(html, options).parse
end