Convert HTML to Markdown in ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
COPYING
README
html2markdown.rb

README

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