Skip to content

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

@maikol-solis

Description

@maikol-solis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions