Sha256: 86fbedd55373dafe2bbd1fd9199d0261a5c69ae99242dce7b6b68c5a2ddcfdbe
Contents?: true
Size: 707 Bytes
Versions: 12
Compression:
Stored size: 707 Bytes
Contents
# devcenter-parser Markdown parser used by [Heroku Dev Center](https://devcenter.heroku.com). Usage: ```ruby require 'devcenter-parser' md = '[Dev Center](https://devcenter.heroku.com)' flavour = :github # :github or :maruku DevcenterParser.to_html(md, flavour) # => "<p><a href=\"https://devcenter.heroku.com\">Dev Center</a></p>" broken_md = '[foo](bar' begin DevcenterParser.to_html(broken_md, :maruku) rescue DevcenterParser::InvalidMarkdownError => e puts e.message # parser-dependent (sometimes cryptic) debugging info end ``` ## License See the LICENSE file included in the distribution. ## Copyright Copyright (C) 2013 Heroku <raul@heroku.com>.
Version data entries
12 entries across 12 versions & 1 rubygems