Categorized: Markup, Rails

Using Markdown in Rails apps with BlueCloth

RedCloth seems like a bad idea for doing Mardown, since it wants to do Textile first then degrade to Markdown or some such nonsense. Markdown = more better, IMO.

Download BlueCloth gem

sudo gem install ~/Desktop/BlueCloth-x.x.x.gem

Syntax:

<%= markdown(@item.description) %>

Comments

Nothing to see here yet. Start things off, why don't you?

What do you think about that?

Elsewhere in the empire: Home, Blog, APOD