The Crystal Programming Language Forum

Syntaxer, a multi-backend syntax highlighter for Crystal

hey,
today i’ve released syntaxer, which is syntax highlighter for Crystal, alternative to noir, that supports gnu source-highlight, highlight and pygments!

check out at GitHub - mishushakov/syntaxer: Multi-backend syntax highlighter for Crystal

3 Likes

I’m using it for my Kemal-based git repository viewer

another alternative is Noir, BUT: it doesn’t support as many languages, themes and output formats

3 Likes

i have generated a demo of base16 themes, rendered with source-highlight using Syntaxer: https://mishushakov.github.io/syntaxer/

2 Likes

also, thanks a lot for the stars on GitHub!

i have also added an option to supply your own parameters to the highlighters, even if they are not supported by Syntaxer (yet) :wink: