lucc / nvimpager

Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
Other
365 stars 19 forks source link

How to display the code fence if the markdown? #96

Closed Freed-Wu closed 5 months ago

Freed-Wu commented 5 months ago

Screenshot from 2024-02-20 11-30-33

How to display the code fence? TIA!

lucc commented 5 months ago

You have to install some neovim plugin or syntax file that can do that. nvimpager just runs neovim and let's it to the highlighting. (but note that treesitter is not yet supported in cat mode: #63)