Skip to content

Commit 8346ee9

Browse files
authored
[Update] add usage instruction for CodeSnapASCII
1 parent 553621c commit 8346ee9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,14 @@ Here is an example video:
205205
https://github.com/mistricky/codesnap.nvim/assets/22574136/bea0bf6c-8fc9-4d09-9cab-4e1e6f47899c
206206

207207

208+
### Take ASCII snapshot
209+
Run `CodeSnapASCII`, CodeSnap will generate a "code snapshot" in ASCII format and then copy it into clipboard automatically, it's really cool and lightweight, if you want to share your code in somewhere like Markdown document, even you can enjoy the code highlighting which provided by Markdown parser. Here is an usage video:
210+
211+
212+
213+
https://github.com/mistricky/codesnap.nvim/assets/22574136/91bc3d96-7dbd-4e1c-9224-95428c7cca48
214+
215+
208216

209217

210218
### Specify language extension
@@ -357,6 +365,8 @@ require("codesnap").setup({
357365
CodeSnap # Take a snapshot of the currently selected code and copy the snapshot into the clipboard
358366

359367
CodeSnapSave # Save the snapshot of the currently selected code and save it on the disk
368+
369+
CodeSnapASCII # Take a code snapshot in ASCII format
360370
```
361371
**Lua**
362372
```lua

0 commit comments

Comments
 (0)