Marked is an awesome, fast Markdown parser and compiler. This is marked - wrapped in a gem - to make use of rubygems as a package manager. Marked is also available through Node Package Manager, but if you're working in Rails it's nice to have in gem form for simple integration into your rails apps.
We are currently tracking marked version 0.2.7
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install marked-rails
Usage (With Asset Pipeline)
//= require marked
Usage (Without Asset Pipeline)
Feel free to open an issue ticket if you find something that could be improved. A couple notes:
If the marked scripts are outdated (i.e. maybe a new version of marked was released yesterday), feel free to open an issue and prod us to get that thing updated.
- This README is heavily inspired by the one for jquery-rails