I am trying to use web-tree-sitter for live syntax highlighting in the browser. Setting up tree-sitter and parsing works fine, I am just not able to understand if and how syntax highlighting is supported through the JS bindings.
I’ve read the documentation and scanned the code of web-tree-sitter without success. It would be very helpful if someone could point me in the right direction. Thank you!