Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Latest commit

 

History

History
42 lines (27 loc) · 790 Bytes

README.rdoc

File metadata and controls

42 lines (27 loc) · 790 Bytes

Undress

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

Supported Markup Languages

Get it

gem install zevarito-undress

License

Authors

Nicolas Sanguinetti (foca), Alvaro Gil (zevarito)

License

MIT (Check LICENSE for details)