Rouge
Pure Ruby syntax highlighter that renders HTML or terminal output, with stylesheets compatible with Pygments.
Rouge is a pure Ruby syntax highlighter that renders code as HTML or as terminal output. Its gemspec describes it as based on Pygments, and the README says its HTML output is compatible with stylesheets designed for Pygments.
The README names Jekyll’s default highlighter as one of its uses, and it lists Middleman, RDoc and Rails integrations that are third-party or downstream.
Worth knowing
The project site named in the gem metadata returned errors when it was checked, so the record has no homepage.
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/rouge-ruby/rouge - 2026-11-16: links, Runtime, Minimum runtime, Categories, Install with, License, License model
github.com/rouge-ruby/rouge/blob/v5.1.0/README.md - 2026-11-16: Maintainer, License
github.com/rouge-ruby/rouge/blob/v5.1.0/LICENSE - 2026-11-16: Built on
github.com/rouge-ruby/rouge/blob/v5.1.0/rouge.gemspec - 2026-11-16: Current major version, Last release
api.github.com/repos/rouge-ruby/rouge/releases - 2026-11-16: First release
api.github.com/repos/rouge-ruby/rouge/commits/v0.0.2 - 2026-11-16: Contributors
api.github.com/repos/rouge-ruby/rouge/contributors