[ANN] ClothRed 0.3.1 (Bugfix release)

P

Phillip Gawlowski

= ClothRed HTML 2 Textile converter

== What it is

A library 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/?group_id=3427

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

== Bugs fixed in this release:
* HTML linebreak wasn't translated
* Headings weren't translated properly (thanks to Adriano Ferreira for
providing a fix and a new test)


== 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>
* Support for Textile entities

== 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.rubyforge.org/
* http://rubyforge.org/projects/clothred/

== Contributers:

Adriano Ferreira (patch + test for heading-translation)

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/
http://clothred.rubyforge.org

Rule of Open-Source Programming #5:

A project is never finished.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,084
Latest member
HansGeorgi

Latest Threads

Top