chroma
chroma copied to clipboard
A general purpose syntax highlighter in pure Go
**What problem does this feature solve?** Swift 5.1 added property wrappers (like `@State` in the image below), opaque return types (the `some` before a type), and function builders (the set...
The syntax should be pretty easy as it consists of only a few keywords, strings and comments
**Describe the bug** Chroma seems to not understand TypeScript generics with multiple template arguments and/or template arguments using a generic type too. Consider the following TypeScript code: ```ts export class...
**What problem does this feature solve?** I need to highlight Zeek code. **What feature do you propose?** [Zeek](https://github.com/zeek/zeek) is a popular IDS (Intrusion Detection System) and it provides its own...
**What problem does this feature solve?** Support for the Meson build system. I noticed support for CMake is included here which is awesome! I would like to propose the inclusion...
**Describe the bug** The C++ lexer seems to be thrown off by function return types containing namespaces (e.g., `std::string`) or template arguments (e.g., `vector`). Consider the following code sample: ```...
**What problem does this feature solve?** There is currently no syntax highlighting for code blocks containing [DOT code](https://graphviz.org/doc/info/lang.html), which is used to define graphs for Graphviz. **What feature do you...
**Describe the bug** I wanted to share some code in assembly, but I discovered Chroma's GAS highlighters failed to recognize the comments and marks them as syntax error. Fixing this...
I use the "minted" package for Latex which uses Pygmants to format program listings. However it doesn't handle Yaml properly and it looks like this would be an alternative. I'm...
## Bug description The [ElixirLexer] from pygments appears to have a non-standard way of declaring all of the builtin terms. This makes the rendering of Elixir code appear nearly broken...