Sha256: 2a9c63a093661861a36a669cbc437f1bc503b7d17fa5cf527c65b2f1d6f58a9c

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

# Marked::Rails

  [Marked](https://github.com/chjj/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.

## Installation

Add this line to your application's Gemfile:

    gem 'marked-rails'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install marked-rails

## Usage (With Asset Pipeline)

```js
//= require marked
```

## Usage (Without Asset Pipeline)

This gem adds a generator, `marked:install`. Running the generator will copy Marked to the
`public/javascripts` directory.

To invoke the generator, run:

```sh
rails generate marked:install
```

## Versioning Conventions

The least significant digits are gem-specific. Everything before those digits are marked versions.
For example: marked-rails 0.2.8.0 tracks marked 0.2.8 - if we make a mistake in the gem, without
having to touch the library - we'd release 0.2.8.1.

## Contributing

Feel free to open an issue if you find something that could be improved. A couple notes:

* If it's an issue pertaining to the marked javascript, please report it to the [marked project](https://github.com/chjj/marked).
* 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.

## Acknowledgements

* This README is __heavily__ inspired by the one for [jquery-rails](https://github.com/rails/jquery-rails)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
marked-rails-9.1.2.0 README.md
marked-rails-0.3.2.0 README.md