Skip to content

arokettu/commonmarker-rouge

Repository files navigation

CommonMarker+Rouge

Gem Gitlab pipeline status

A CommonMarker wrapper with syntax highlight support by Rouge.

IMPORTANT

commonmarker-rouge currently works only with renderer in :UNSAFE mode. Don't forget to set :UNSAFE manually if you're overwriting the renderer mode.

Installation

Add these lines to your application's Gemfile:

gem 'commonmarker-rouge'

Documentation

Read full documentation here: https://sandfox.dev/ruby/commonmarker-rouge.html

Support

Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/commonmarker-rouge/-/issues

License

The gem is available as open source under the terms of the MIT License.