From c3dc263ccf6b0bc1d0a030eade3e21834e7ba482 Mon Sep 17 00:00:00 2001 From: The Mist Date: Sat, 27 Apr 2024 19:15:31 +0800 Subject: [PATCH] [Update] add demo for take code snapshot with highlighted code block --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c6f6d10..e8ea6a1 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,13 @@ require("codesnap").setup({ https://github.com/mistricky/codesnap.nvim/assets/22574136/69b27e77-3dce-4bc3-8516-89ce636fe02d +### Highlight code block + + +https://github.com/mistricky/codesnap.nvim/assets/22574136/6207d185-df4e-4e03-a9ac-3f66c6705cb4 + + + ### Specify language extension In some scenarios, CodeSnap.nvim cannot auto-detect what language syntax should used to highlight code, for example, shell script can have no extension, they specify interpreters using shebang.