How to add custom tags in @lezer/highlight ?

I am creating editor for my custom language. I need to add custom classNames for custom tags in my grammar. How can we add custom tags using @lezer/highlight.

@marijn any ideas here ?

Exactly the same way you use other tags. Define your custom tag, associate them with tree nodes in your styleTags config, and style those tags in your highlight style.