Provides Kramdown markup (with syntax highlighting by CodeRay) for Forem posts
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.ruby-version
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
forem-kramdown.gemspec

README.md

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