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

Various builtin pygments styles are missing, for example default and stata. I can of course generate them for my own application using style.py, but I would rather avoid having to...

```csharp private void OnClickInstallButton(object sender, RoutedEventArgs e){ FolderBrowserDialog val = new FolderBrowserDialog(); val.set_Description("Select the folder in which you want to install the game"); if ((int)((CommonDialog)val).ShowDialog() == 1) { Directory.CreateDirectory(val.get_SelectedPath() +...

**Describe the bug** YAML's infinity `.inf` is currently highlighted like a string, while it is technically a number so should be highlighted as such. See [this](https://yaml.org/spec/1.2.2/#10214-floating-point) and [this](https://yaml.org/type/float.html) for all...

Currently, Chroma does not handle `.slim` views templates syntax highlighting. [Slim](https://github.com/slim-template/slim) is a template language for views that is used in the Ruby language. It could be a good feature...

**What feature do you propose?** I propose syntax highlighting support for the WebAssembly Text Format, `wat`, or `wast`

**Describe the bug** The highlighting of a markdown link does not work if there is a round bracket immediately preceding it. ![image](https://user-images.githubusercontent.com/58074586/215751564-8cfd72a6-7b81-4cee-b13e-ee9675a90712.png) **To Reproduce** This can be seen in the...

**What problem does this feature solve?** Line highlighting is a mechanism that draws attention to specific regions in the content. However, due to technical considerations (e.g., boilerplate for testable examples),...

Some of the words appear white on a white background: https://xyproto.github.io/splash/docs/hr_high_contrast.html The other themes doesn't appear to have this issue: https://xyproto.github.io/splash/docs/all.html ![chroma_hr_high_contrast](https://user-images.githubusercontent.com/52813/213463426-14d2539d-0b35-4a28-a77d-653f4ec5b938.png) Thanks for creating Chroma!

With `LineNumbersInTable` enabled, if the inherited CSS line height is greater than one, then the height of highlighted numbers is not equal to the height of the highlighted code. ![image](https://user-images.githubusercontent.com/335669/211472836-ecafff3c-8568-405c-8031-2e464b77f15f.png)...

It might benefit a few people and I do not have any reasons against it. https://cooklang.org/docs/spec/