RedCloth is a Ruby library for working with the Textile language (http://www.textism.com/tools/textile/).