From 22e785ca498f5b23bde91e1f897830f06818da26 Mon Sep 17 00:00:00 2001 From: David Peter Date: Thu, 26 Apr 2018 00:11:10 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e57e56e..bac63e9f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ### 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) @@ -32,6 +32,10 @@ cargo install bat ### 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 mkdir -p ~/.config/bat/themes cd ~/.config/bat/themes