Easily convert back HTML to Textile, Greencloth.
require "undress/textile" code =<<html <h1>Hello world!</h1> <p><strong>Hey!</strong> How is it going?</p> <h2>Supported Markup Languages so far:</h2> <ul> <li>Textile</li> <li>Greencloth</li> </ul> html Undress(code).to_textile
Will produce
h1. Hello world! *Hey!* How is it going? h2. Supported Markup Languages so far: * Textile * Greencloth
-
Textile
-
Greencloth, see [we.riseup.net]
gem install zevarito-undress