No commit activity in last 3 years
No release in over 3 years
Allows Redcloth to output plain text
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 4.2.3
 Project Readme

RedCloth::Formatters::Plain

Similar to HTML and Latex formatters included in RedCloth, this one allows you to convert Textile to plain text discarding the Textile syntax.

Dependencies

This plugin only requires the RedCloth gem.

Example

RedCloth.new("p. this is *simple* _test_").to_plain

will return:

"this is simple test"

Example displaying URLs

RedCloth.new(%Q{"Please contact support":http://example.com/support}).to_plain

will return:

"Please contact support <http://example.com/support>"