quarto-nvim icon indicating copy to clipboard operation
quarto-nvim copied to clipboard

Highlight callout blocks (and theorem-like environments) the same way as fenced blocks

Open maikol-solis opened this issue 9 months ago • 1 comments

Hi,

First, thanks for the extension. I'm just starting out with Neovim, and this plugin is excellent for my work.

Second, I noticed that the fenced blocks are highlighted as expected. It is a nice touch because you can see the difference between the code and regular text.

Image

However the regular callout blocks, and the used for theorems (and other math environments), aren't highlighted properly.

Image

Would it be possible to include them into the tree sitter grammar to differentiate them from the regular text?

Thanks for your help.

Best.

maikol-solis avatar Apr 26 '25 12:04 maikol-solis

Refs https://github.com/quarto-dev/quarto-nvim/issues/31

jmbuhr avatar Apr 26 '25 20:04 jmbuhr