Hi! I use @codemirror/lang-html for my editor, but actually there is mdx content in editor. So, i use this code to redefine comment’s tokens.
htmlLanguage.data.of({
commentTokens: { block: { open: "{/*", close: "*/}" } },
})
But, as I see, my comments are without highlighting, because it is on @lezer-parser/html side.
Can you help me, how can I highlight my custom comments?