Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f78b230af8
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.754 kb
Ruby converter to parse HTML (back) into markdown to edit existing texts. Intended to be used with wmd-editor and just those basic HTML features.
This is just a little scripting work, feel free to use it, change it, damn it or whatever you feel like!
* supported tags: h1, h2, h3, h4, h5, h6, p, em, strong, blockquote, code, img, a, hr, li, ol, ul
* nested lists
* inline and block code
1. Include ReverseMarkdown class to your application
2. get an instance: r =
3. parse a HTML string and save the return value: markdown = r.parse_string(html_string)
Look at
markdown syntax:
Jump to Line
Something went wrong with that request. Please try again.