[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] ClothRed 0.2.0 released

Phillip Gawlowski

4/12/2007 8:58:00 AM

= ClothRed HTML 2 Textile converter

== What it is

A script to convert HTML into Textile markup for use, for example, with
RedCloth.


== Requirements

All you need is Ruby.

== Get it

Available as a gem on RubyForge:
gem install ClothRed

Or download from RubyForge:
http://rubyforge.org/frs/?gro...

Or get the source:
svn checkout svn://viewvc.rubyforge.mmmultiworks.com/var/svn/clothred

== New in this release:
* Support for headings
* Support for paragraphs and <blockquote>

== Features

This is alpha software, and only a few Textile rules have been
implemented yet:
* font markup and weight (<b>, <strong>, ...)
* text formatting (<sub>, <sup>, <ins>,<del>)
* Support for headings
* Support for paragraphs and <blockquote>

== Usage

require 'clothred'

text = ClothRed.new("<b>Bold</b> <em>HTML</em>!")
text.to_textile

== Get Help
Feel free to contact me, or peruse the homepage.

* http://clothred.ruby...
* http://rubyforge.org/projects...

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan....

Rule of Open-Source Programming #34:

Every successful project will eventually spawn a sub-project