Skip to content

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

License

Notifications You must be signed in to change notification settings

silentshade/redcloth-formatters-plain

 
 

Repository files navigation

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 does of course require 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>"

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%