From 0e8e39a59dbb96862af50fa184081c6f479fc708 Mon Sep 17 00:00:00 2001 From: David Peter Date: Thu, 26 Apr 2018 00:02:53 +0200 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 588aa9a0..6b56a319 100644 --- a/README.md +++ b/README.md @@ -9,21 +9,30 @@ ### Syntax highlighting -![bat src/main.rs](https://i.imgur.com/bcnFRSl.png) +A large number of languages are supported (via Sublime Text definition files): -![bat src/example.js](https://i.imgur.com/uyBewNX.png) +![Syntax highlighting example](https://imgur.com/rGsdnDe.png) ### Git integration -![bat src/index.html](https://i.imgur.com/yBQ31jm.png) +Additions, modifications and deletions are shown (a la `git diff`): + +![Git integration example](https://imgur.com/2lSW4RE) ## Installation -To compile `bat` from source, you need Rust 1.22 or higher. +Check out the [Release page](https://github.com/sharkdp/bat/releases) for binary builds and Debian packages. + +If you want to build to compile `bat` from source, you need Rust 1.22 or higher. +You can then use `cargo` to build everything: ``` bash cargo install bat +``` +### Get themes and syntax highlighting definitions + +``` bash mkdir -p ~/.config/bat/themes cd ~/.config/bat/themes git clone https://github.com/jonschlinkert/sublime-monokai-extended