Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.
/ forem-kramdown Public archive

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

License

Notifications You must be signed in to change notification settings

phlipper/forem-kramdown

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published