https://github.com/foca/undress
Easily convert HTML into Textile, Markdown, LaTeX, YAML, or whatever you want to =)
https://github.com/foca/undress
Last synced: 11 months ago
JSON representation
Easily convert HTML into Textile, Markdown, LaTeX, YAML, or whatever you want to =)
- Host: GitHub
- URL: https://github.com/foca/undress
- Owner: foca
- License: mit
- Created: 2009-07-13T04:56:43.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2009-07-21T05:59:40.000Z (almost 17 years ago)
- Last Synced: 2023-04-10T10:20:06.694Z (about 3 years ago)
- Language: Ruby
- Homepage: http://undress.rubyforge.org
- Size: 96.7 KB
- Stars: 52
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE
Awesome Lists containing this project
README
= Undress
Easily convert back HTML to Textile, Markdown, RDoc or whatever other
markup language you like.
require "undress/textile"
code =<Hello world!
Hey! How is it going?
Supported Markup Languages so far:
- Textile
- And more to come :P
html
Undress(code).to_textile
Will produce
h1. Hello world!
*Hey!* How is it going?
h2. Supported Markup Languages so far:
* Textile
* And more to come :P
== Supported Markup Languages
For now the only language supported is Textile. But I'll be happy to accept
patches to add more languages :)
== Get it
gem install undress
== License
Authors:: Nicolas Sanguinetti (foca[http://github.com/foca])
License:: MIT (Check LICENSE for details)