CodeRay Alternatives

CodeRay is described as 'Fast and easy syntax highlighting for selected languages, written in Ruby' and is an app. There are more than 10 alternatives to CodeRay for a variety of platforms, including Self-Hosted, Web-based, Ruby, JavaScript and Go (Programming Language) apps. The best CodeRay alternative is prism.js, which is both free and Open Source. Other great apps like CodeRay are highlight.js, Bright, Rainbow (Syntax Highlighting) and Inkjet (Syntax Highlighting).

Copy a direct link to this comment to your clipboard
CodeRay alternatives page was last updated

Alternatives list

  1. prism.js icon
     2 likes

    Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
    • Self-Hosted
     
  2. highlight.js icon
     2 likes

    Highlight.js is a client-side Syntax Highlighting library in Javascript.It can be used in Pastebin Services or in Code Examples.Because of running on client side,it needs less bandwidth than server-side Syntax Highlighting libraries.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
    • Self-Hosted
     
  3. Bright icon
     Like

    React Server Component for syntax highlighting.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
     
  4. A batteries-included syntax highlighting library for Rust, based on tree-sitter.

    Cost / License

    Platforms

    • Self-Hosted
     
  5. Shiki icon
     Like

    A beautiful syntax highlighter based on TextMate grammar, accurate and powerful.

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Self-Hosted
     
  6. This package is an open source version of GitHub’s closed-source PrettyLights project (more on that later). It supports 600+ grammars and its extremely high quality. It uses TextMate grammars which are also used in popular editors (SublimeText, Atom, VS Code, &c).

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Self-Hosted
    • npm
     
  7. Torchlight is a VS Code-compatible syntax highlighter that requires no JavaScript, supports every language, every VS Code theme, line highlighting, git diffing, and more.

    Cost / License

    • Freemium
    • Proprietary

    Platforms

    • Self-Hosted
     
  8. Re-Highlight is a powerful syntax highlighter, which is a sub-module of the Reqable project. Re-Highlight can highlight a text by simply defining a syntax file. And Re-Highlight has built-in syntax highlighting rules for dozens of programming languages, it is easy to make your...

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Self-Hosted
     
  9. Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.

    Cost / License

    • Free
    • Open Source (MIT)

    Platforms

    • Self-Hosted
    • Go (Programming Language)
     
  10. Rouge icon
     Like

    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.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Ruby
    • Self-Hosted
     
11 of 11 CodeRay alternatives