| 1 | # Supported languages and themes |
| 2 | |
| 3 | To list the supported languages and color themes, use `delta --list-languages` and `delta --list-syntax-themes`. To see a demo of the color themes, use `delta --show-syntax-themes`: |
| 4 | |
| 5 | To add your own custom color theme, or language, please follow the instructions in the Customization section of the [bat documentation](https://github.com/sharkdp/bat/#customization): |
| 6 | |
| 7 | - [Adding a custom language](https://github.com/sharkdp/bat/#adding-new-syntaxes--language-definitions) |
| 8 | - [Adding a custom theme](https://github.com/sharkdp/bat/#adding-new-themes) |
| 9 | |
| 10 | Delta automatically recognizes custom themes and languages added to bat. You will need to install bat in order to run the `bat cache --build` command. Ideally, the version of bat you install should match the version specified in delta's [`Cargo.toml`](https://github.com/dandavison/delta/blob/main/Cargo.toml) for the delta release you're using. There are [known problems](https://github.com/dandavison/delta/issues/1712) with bat v0.18.3 and below. |
| 11 | |
| 12 | The languages and color themes that ship with delta are those that ship with bat. So, to propose a new language or color theme for inclusion in delta, it would need to be a helpful addition to bat, in which case please open a PR against bat. |
| 13 |