devcenter-parser

Markdown parser used by Heroku Dev Center.

Usage:

    require 'devcenter-parser'

    md = '[Dev Center](https://devcenter.heroku.com)'
    DevcenterParser.to_html(md)
    # => "<p><a href=\"https://devcenter.heroku.com\">Dev Center</a></p>"

It supports GitHub flavored markdown plus a few enhancements and sanitizes the output.

Test:

$ bundle exec rake

License

See the LICENSE file included in the distribution.

Release a new version

  1. Update the lib/version.rb file and commit
  2. Ensure you that you are an owner on the gem's RubyGems page
  3. rake release
  4. Profit

Copyright (C) 2013 Heroku [email protected].