Join GitHub today
Convert HTML to Markdown in ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
This is just a small piece of ruby code that turns HTML into Markdown-compatible text. It is based on Nokogiri, and supports certain features of HTML5 (such as the effect sections have on headings). Example: HTML2Markdown.new('<h1>test</h1>').to_s