Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

HTML to Textile Conversions, built to undo RedCloth

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time


Pink Shirt

wash out all that RedCloth


text =  "This is *my* text."
html =
same =
same #=> "This is *my* text."


I had a problem: some html needed to be textile

None of the available options could get back to exactly where you started.
They weren’t ‘reversable’.

I learned a lot by reading other’s who went before.
I’ve looked at: html2texile
I’ve looked at: clothred
I’ve looked at: a deeply buried module in humpyard

This library still has some problems with whitespace management, but the majority of the the tags convert.

It’s based around textile-spec
and built to produce mirror images of html produced by

Something went wrong with that request. Please try again.