chroma
chroma copied to clipboard
A general purpose syntax highlighter in pure Go
**Describe the bug** Using the Dracula theme, the contrast between the background #282a36 and `GenericOutput` #44475a is too low.  **To Reproduce** ```console # show flow monitor monitor1 cache internal...
Replaced the backslash with a tilde for the OpenEdge ABL lexer, and updated its testcase
Revise the fortran lexer to correctly flag whitespace when it occurs within a keyword. For example, "DO CONCURRENT" and "GO TO". When parsing keywords in general, don't include trailing spaces.
**What problem does this feature solve?** There have been a couple updates to the pygments lexer for fortran that are not reflected in chroma's versions. For example, https://github.com/pygments/pygments/pull/1877 **What feature...
**Describe the bug** Running a command like: `chroma --html --html-styles -s lovelace --html-prefix=tok-` should output CSS with class prefixes that include the given prefix. The prefix is ignored however: ```...
I use chroma to syntax highlight code snippets on my blog. While profiling my static blog generator, I noticed that a lot of time was being spent setting up the...
Playground (https://swapoff.org/chroma/playground/) looks broken. It was OK yesterday. Environment: Firefox 96.0 on Xubuntu 21.10. Current output (I tried different languages) : 
**What problem does this feature solve?** I am using Gitea which uses Chroma (according to their support channel where I was wondering if this was an issue with Gitea) and...
It looks like the shell session lexers are a bit more difficult than using pygments2chroma, but these lexers are very nice for writing tutorials with example shell commands, especially BashSessionLexer....
**What problem does this feature solve?** Currently, new styles need to be PRed into chroma (or use a pygments CSS file). This is okay, but it means that custom styles...