@@ -1,7 +1,7 @@
1−## Add New Syntax Highlighting into the bat binary
1+## Adding new builtin languages for syntax highlighting
2+
3+Should you find that a particular syntax is not available within `bat` and think it should be included in `bat` by default, you can follow the instructions outlined below.
24
3−Should you find a particular syntax is not available within `bat` and think it should be included in `bat` by default, you can follow the instructions and policies outlined below.
4−
55`bat` uses the excellent [syntect](https://github.com/trishume/syntect) library to highlight source
66code. As a basis, syntect uses [Sublime Text](https://www.sublimetext.com/) syntax definitions
77in the `.sublime-syntax` format.
@@ -31,6 +31,10 @@ in the `.sublime-syntax` format.
3131Make sure that the local cache does not interfere with the internally stored syntaxes and
3232themes (`bat cache --clear`).
3333
34+## Criteria for inclusion of new syntaxes
35+
36+* More than 10,000 downloads on packagecontrol.io/
37+
3438### Manual modifications
3539
3640The following files have been manually modified after converting from a `.tmLanguage` file:
@@ -54,7 +58,3 @@ The following files have been manually modified after converting from a `.tmLang
5458 https://github.com/seanjames777/SML-Language-Definition/blob/master/sml.tmLanguage
5559* `Cabal.sublime_syntax` has been added manually from
5660 https://github.com/SublimeHaskell/SublimeHaskell/ - we don't want to include the whole submodule because it includes other syntaxes ("Haskell improved") as well.
57−
58−## Criteria for inclusion of new syntaxes
59−
60−* More than 10,000 downloads on packagecontrol.io/