From 71397be83fc6c735926e33f98cecc7e43da94411 Mon Sep 17 00:00:00 2001 From: Matt Low Date: Sun, 23 Jun 2024 21:15:03 +0000 Subject: [PATCH] Update README Add section for syntax highlighting --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 565e4e4..ac1a7a6 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,18 @@ providers: Customize this file to add your own providers, agents, and models. +### Syntax highlighting + +Syntax highlighting is performed by [Chroma](https://github.com/alecthomas/chroma). + +Refer to [`Chroma/styles`](https://github.com/alecthomas/chroma/tree/master/styles) for available styles (TODO: add support for custom Chroma styles). + +Available formatters: +- `terminal` - 8 colors +- `terminal16` - 16 colors +- `terminal256` - 256 colors +- `terminal16m` - true color (default) + ## Usage Here's the default help output for `lmcli`: