redcloth.rb

lib/tilt/redcloth.rb

Textile (textile)

Textile is a lightweight markup language originally developed by Dean Allen and billed as a “humane Web text generator”. Textile converts its marked-up text input to valid, well-formed XHTML and also inserts character entity references for apostrophes, opening and closing single and double quotation marks, ellipses and em dashes.

Textile formatted texts are converted to HTML with the RedCloth engine, which is a Ruby extension written in C.

Example

h1. Hello Textile Templates

Hello World. This is a paragraph.

Usage

NOTE: It’s suggested that your program require 'redcloth' at load time when using this template engine in a threaded environment.

See Also

Required files

  1. redcloth