Programming

Rouge – elegant, extendable code highlighter

Rouge is a pure Ruby syntax highlighter. It can highlight over 200 different languages, and output HTML or ANSI 256-color text.

Its HTML output is compatible with stylesheets designed for Pygments.

This is free and open source software.

Key Features

  • Supports 225 languages and counting, including Ruby, JavaScript, Swift, Go, C++, and Haskell. Our contributors are adding more languages all the time.
  • Aims for the highest quality lexing in all its supported languages, even with strange features and odd corner cases.
  • Rouge themes are 100% compatible with Pygments’ stylesheets. No need to remake your theme, and no need to spawn a Python process either. Rouge is made in Ruby.

Website: github.com/rouge-ruby/rouge
Support:
Developer: Jeanine Adkisson
License: MIT License

Rouge is written in Ruby. Learn Ruby with our recommended free books and free tutorials.


Related Software

Syntax Highlighters
PrismLightweight, extensible syntax highlighter, with modern web standards in mind
Re-HighlightPowerful syntax highlighter
ChromaGeneral purpose syntax highlighter
PygmentsGeneric syntax highlighter
RougePure Ruby syntax highlighter
Highlight.jsJavaScript syntax highlighter with language auto-detection

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments