chroma icon indicating copy to clipboard operation
chroma copied to clipboard

A general purpose syntax highlighter in pure Go

Results 136 chroma issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Using the Dracula theme, the contrast between the background #282a36 and `GenericOutput` #44475a is too low. ![image](https://user-images.githubusercontent.com/631446/180392428-ebac974d-abd3-4095-9793-3b12346f621b.png) **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) : ![Screenshot_2022-02-22_14-23-48](https://user-images.githubusercontent.com/8958429/155141111-8aff0966-aab6-424c-b070-86d691dba13f.png)

**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....

help wanted
lexer missing

**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...