Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

83 lines (49 sloc) 1.846 kb

Note:

This gem is no longer needed, or actively maintained. Simply use the following with forem:

gem "kramdown"

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:

  • 1.8.7
  • 1.9.2
  • 1.9.3
  • JRuby
  • Rubinius

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

Jump to Line
Something went wrong with that request. Please try again.