A CommonMarker wrapper with syntax highlight support by Rouge.
commonmarker-rouge
currently works only with renderer in :UNSAFE
mode.
Don't forget to set :UNSAFE
manually if you're overwriting the renderer mode.
Add these lines to your application's Gemfile:
gem 'commonmarker-rouge'
Read full documentation here: https://sandfox.dev/ruby/commonmarker-rouge.html
Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/commonmarker-rouge/-/issues
The gem is available as open source under the terms of the MIT License.