forem-kramdown

Provides Kramdown markup (with syntax highlighting by CodeRay) for Forem posts

View the Project on GitHub phlipper/forem-kramdown

Build Status

Description

Provides Kramdown markup (with syntax highlighting by CodeRay) for Forem posts.

This gem is based on forem-redcarpet.

Requirements

This gem requires Rails 3.1+ and Forem 1.0.0.beta1.

This gem has been tested against the following Ruby versions:

Installation

Add this line to your application's Gemfile:

gem "forem-kramdown"

And then execute:

$ bundle

Or install it yourself as:

$ gem install forem-kramdown

Usage

Specify this gem as a dependency of an application that also contains Forem:

gem "forem", git: "git://github.com/radar/forem"
gem "forem-kramdown"

The code will do the rest!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a Pull Request

License

sugar-rails