neurocyte / zat

zat is a syntax highlighting cat like utility using tree-sitter and with support for vscode themes
MIT License
33 stars 3 forks source link

Doesn't seem to work for markdown files #5

Closed postsolar closed 7 months ago

postsolar commented 7 months ago
$ ./zig-out/bin/zat -l markdown README.md

outputs unformatted text.

neurocyte commented 7 months ago

It does include the tree-sitter markdown parser. Unfortunately most vscode themes provide very little (or no) highlighting of markdown. Try zat --theme OneDark-Pro README.md to see that it is actually working.

Also note, there is no tree-sitter injection support just yet, so markdown's inline code blocks will not be hightlighted with embedded language parser.