mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-22 20:51:21 +01:00
Update README.md
This commit is contained in:
parent
64ef61b409
commit
7f070c9dcb
@ -3,7 +3,7 @@
|
|||||||
[](https://travis-ci.org/sharkdp/bat)
|
[](https://travis-ci.org/sharkdp/bat)
|
||||||
[](https://crates.io/crates/bat)
|
[](https://crates.io/crates/bat)
|
||||||
|
|
||||||
*A cat(1) clone with syntax highlighting and Git integration.*
|
A *cat(1)* clone with syntax highlighting and Git integration.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@ -35,11 +35,11 @@ cargo install bat
|
|||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/) library for syntax highlighting. `syntect` can read any Sublime Text language definitions and highlighting theme.
|
`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/) library for syntax highlighting. `syntect` can read any Sublime Text language definition and theme.
|
||||||
|
|
||||||
To build your own syntax-set and theme, follow these steps:
|
To build your own language-set and theme, follow these steps:
|
||||||
|
|
||||||
Create a folder with syntax highlighting theme:
|
Create a folder with a syntax highlighting theme:
|
||||||
``` bash
|
``` bash
|
||||||
mkdir -p ~/.config/bat/themes
|
mkdir -p ~/.config/bat/themes
|
||||||
cd ~/.config/bat/themes
|
cd ~/.config/bat/themes
|
||||||
|
Loading…
Reference in New Issue
Block a user