mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 10:11:07 +00:00
Update README.md
This commit is contained in:
parent
57072597d6
commit
22e785ca49
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
### Syntax highlighting
|
### Syntax highlighting
|
||||||
|
|
||||||
A large number of languages are supported (via Sublime Text definition files):
|
`bat` supports a large number of programming and markup languages (see below):
|
||||||
|
|
||||||
![Syntax highlighting example](https://imgur.com/rGsdnDe.png)
|
![Syntax highlighting example](https://imgur.com/rGsdnDe.png)
|
||||||
|
|
||||||
@ -32,6 +32,10 @@ cargo install bat
|
|||||||
|
|
||||||
### Get themes and syntax highlighting definitions
|
### Get themes and syntax highlighting definitions
|
||||||
|
|
||||||
|
`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/) library for syntax highlighting. `syntect` uses Sublime Text language definitions and themes.
|
||||||
|
|
||||||
|
To get a big package of languages and a Monokai-variant as a theme, run:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
mkdir -p ~/.config/bat/themes
|
mkdir -p ~/.config/bat/themes
|
||||||
cd ~/.config/bat/themes
|
cd ~/.config/bat/themes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user