Sha256: 2db671e31550496bec84ce5845dd446ab700b622aaf903e83c39ccbc2fcc112c

Contents?: true

Size: 735 Bytes

Versions: 4

Compression:

Stored size: 735 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
```

Test:

```bash
$ rake
```

## License
See the LICENSE file included in the distribution.

## Copyright
Copyright (C) 2013 Heroku <raul@heroku.com>.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devcenter-parser-1.4.3 README.md
devcenter-parser-1.4.2 README.md
devcenter-parser-1.4.1 README.md
devcenter-parser-1.4.0 README.md