mengu on web programming.

Markdown With Ruby

I love markdown and I was searching how to use markdown with Ruby for a Rails project and thanks to [Ryan Tomayko](http://tomayko.com/), a [sinatrarb](http://www.sinatrarb.com/) developer, I am now using [Discount](http://www.pell.portland.or.us/~orc/Code/markdown/). Installation is very easy: sudo gem install rdiscount You can give it a try on the Rails shell or IRB. Here is a quick example: require 'rdiscount' text = RDiscount.new("This is a **test**.") text.to_html And you get: "

This is a text

\n" Enjoy!
Check my latest project compector.com where you can post references about your former employers and see what others have said about the future employers. Sign up now and post a reference and share it on twitter or facebook.
Tags: markdown, ruby

Comments

No comments made for this post.

Leave a Response

No HTML allowed. You can use markdown.
Name*:
E-Mail* (not published):
Web site:
Response: