Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.
/ undress Public archive
forked from foca/undress

Easily convert HTML into Textile, Markdown, LaTeX, YAML, or whatever you want to =)

License

Notifications You must be signed in to change notification settings

riseuplabs/undress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Easily convert HTML into Textile, Markdown, LaTeX, YAML, or whatever you want to =)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%