Textile Ruby

Missing

Textile Ruby

RedCloth

is a module for using the Textile markup language in Ruby. Textile is a simple text format that can be converted to HTML, eliminating the need to use HTML directly to create documents, blogs, or web pages. Textile gives you readable text while you’re writing and beautiful text for your readers. If you need to break out into HTML, Textile allows you to do so easily.
Try RedCloth
h1. Give RedCloth a try! A simple paragraph with a line break, some emphasis and a link * an item * and another # one # two Textile Reference Show HTML output
HTML


Give RedCloth a try!

A simple paragraph with
a line break, some emphasis and a link

  • an item
  • and another
  1. one
  2. two

Give RedCloth a try!

A simple paragraph with
a line break, some emphasis and a link

  • an item
  • and another
  1. one
  2. two

Browser
Give RedCloth a try!

A simple paragraph with
a line break, some emphasis and a link

  • an item
  • and another
1. one 2. two

Installing RedCloth 4
Using RubyGems

$ gem install RedCloth

RedCloth will compile the C extension and install. RedCloth is available for native Ruby, JRuby, and Win32 platforms.

NB: The RedCloth gem name is CamelCase, not lowercase. If you mistakenly do a gem install redcloth, you’ll get ERROR: could not find redcloth locally or in a repository.
From source

To install from source, get it from the repository:

$ git clone git://github.com/jgarber/redcloth.git
$ cd redcloth
$ rake install

You’ll need echoe and Ragel to compile it.
Using RedCloth

RedCloth.new(“Some text”).to_html

  1. Some text

See the Official Textile Reference Manual for RedCloth 4 for help with Textile formatting.
Reporting bugs

Bug tracking is on Lighthouse. Please only report bugs about RedCloth 4.

For the latest information on installing, bugs, and contributions, see the development site.
Get RedCloth 4

Stable version: 4.2.2

Upgrade with RubyGems: gem install RedCloth.
Textile resources:

  • Official RedCloth 4 Textile Reference
  • Try RedCloth
  • Hobix Textile Reference
  • Hobix Quick Reference

Recent articles:

  • WYSI-dangerous: Why WYSIWYG editors are bad for your website

Got questions?

  • FAQ
  • RedCloth mailing list
  • @jasongarber

Support RedCloth:

Click here to lend your support to: redcloth and make a donation at www.pledgie.com !

RedCloth.org uses RedCloth 4.2.2 on Radiant.

© 2010 RedCloth.org | Maintained by Jason Garber | contact

RedCloth.org is sponsored by TypeFasterWithDvorak.com. Typing causing you pain? Try Dvorak!

Textile-Ruby

Tags: Textile-Ruby
2010 © Medical-World GmbH | Impressum