Rouge

A pure Ruby code highlighter that is compatible with Pygments (by rouge-ruby)

Rouge Alternatives

Similar projects and alternatives to Rouge

  1. marko

    47 Rouge VS marko

    A declarative, HTML-based language that makes building web apps fun

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. glimmer-dsl-libui

    Glimmer DSL for LibUI - Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library - The Quickest Way From Zero To GUI - If You Liked Shoes, You'll Love Glimmer! - No need to pre-install any prerequisites. Just install the gem and have platform-independent GUI that just works on Mac, Windows, and Linux.

  4. Highlight.js

    91 Rouge VS Highlight.js

    JavaScript syntax highlighter with language auto-detection and zero dependencies.

  5. linguist

    46 Rouge VS linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

  6. bitdowntoc

    7 Rouge VS bitdowntoc

    Online and command-line Markdown TOC generator, with built-in support for BitBucket Server, GitHub, Gitlab, dev.to and more!

  7. kotlin-latex-listing

    A syntax highlighting template for the Kotlin language in LaTeX listings.

  8. pygments.rb

    💎 Ruby wrapper for Pygments syntax highlighter

  9. Diffy

    1 Rouge VS Diffy

    Easy Diffing in Ruby (by samg)

  10. CodeRay

    0 Rouge VS CodeRay

    Fast and easy syntax highlighting for selected languages, written in Ruby.

  11. Gollum

    46 Rouge VS Gollum

    A simple, Git-powered wiki with a local frontend and support for many kinds of markup and content.

  12. Device Detector

    DeviceDetector is a precise and fast user agent parser and device detector written in Ruby

  13. FasterPath

    Faster Pathname handling for Ruby written in Rust

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Rouge alternative or higher similarity.

Rouge discussion

Log in or Post with

Rouge reviews and mentions

Posts with mentions or reviews of Rouge. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-21.
  • Simple Dev.to Article Improvements
    3 projects | dev.to | 21 Aug 2023
    To see if a particular language is supported you can use Rouge's handle tool rougify. First install a ruby interpreter. Then checkout the rouge source code and run bin/rougify list in the source code root directory:
  • Doesn't anybody use -w?
    1 project | /r/ruby | 20 Apr 2023
    But... it seems like so many programs were written without this rudimentary check on. Consider this example. I installed Rouge, the well regarded syntax highlighter. Here's some basic code, almost copied directly from their github page:
  • Rouge syntax highlighter removes support for Solidity “pyramid scheme”
    1 project | news.ycombinator.com | 6 Sep 2022
  • Syntax highlighting library support for modern frontend frameworks
    2 projects | dev.to | 22 Jun 2022
    I was going to write a post about Svelte and I was checking if it is a language that is supported by the highlighting library I use (Rouge). It is not! I guess I could fudge it by using HTML as the language for the code blocks because it is HTML-like. Or add a lexer/extension myself! 🤔
  • Glimmer DSL for LibUI Code Area (Ruby Tooling Future)
    2 projects | dev.to | 26 Mar 2022
    Brandon Weaver has recently contacted me on the Glimmer Gitter to ask questions about Glimmer DSL for LibUI. He also mentioned the node pattern tool written by Marc-André Lafortune (a fellow Rubyist I know in Montreal), which is hosted on Heroku. Brandon said he was excited about the possibility of implementing something similar in pure Ruby using Glimmer DSL for LibUI by leveraging the rouge syntax highlighting gem. He has even blogged about the Ruby Tooling subject in the past with the title "Future of Ruby - AST Tooling", which Matz (creator of Ruby) has alluded to before.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 8 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic Rouge repo stats
5
3,439
8.9
4 days ago

rouge-ruby/rouge is an open source project licensed under BSD 1-Clause License which is not an OSI approved license.

The primary programming language of Rouge is Ruby.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?