[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

RedCloth(foo).to_text

Morten

12/20/2006 6:46:00 PM


Hi,

We have a website where admins can use textile (via RedCloth) to format
their content.

Now we'd like to provide RSS feeds for same content (as text/plain). But
the textile markup doesn't look very good unrendered.

I'm wondering if anyone has ever made a mechanism that renders textile
to a sensible text/plain formatting?

Eg.

h1. Foo bar

Could be

Foo bar
=======

And tables could be CSV or tab-separated and so forth. Anyone know of a
such implementation?

Br,

Morten