CodeRay VS Rouge

Compare CodeRay vs Rouge and see what are their differences.

CodeRay

Fast and easy syntax highlighting for selected languages, written in Ruby. (by rubychan)

Rouge

A pure Ruby code highlighter that is compatible with Pygments (by rouge-ruby)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • talent.io - Download talent.io’s Tech Salary Report
CodeRay Rouge
0 3
829 3,123
-0.1% 1.0%
0.0 8.3
8 months ago 13 days ago
Ruby Ruby
MIT License BSD 1-Clause License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

CodeRay

Posts with mentions or reviews of CodeRay. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning CodeRay yet.
Tracking mentions began in Dec 2020.

Rouge

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 2022-06-22.
  • 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.

What are some alternatives?

When comparing CodeRay and Rouge you can also consider the following projects:

pygments.rb - 💎 Ruby wrapper for Pygments syntax highlighter

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

Pygments

Gollum - A simple, Git-powered wiki with a sweet API and local frontend.

kotlin-latex-listing - A syntax highlighting template for the Kotlin language in LaTeX listings.

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

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

Diffy - Easy Diffing in Ruby

FasterPath - Faster Pathname handling for Ruby written in Rust

Javascript Left-Right Parser - Parser for JavaScript