Open epage opened 1 year ago
I suppose you are looking for tree-sitter-highlight instead which does pretty much that although not using an intermediate representation but event callbacks.
Thats a bit lower level, requiring marking highlight names. The advantage of this crate and syntect is the theme integration so I just need to worry about adapting to my output medium.
Makes sense, yes. I will think about it during the weekend.
A key syntect feature for me is that it has an intermediate representation and I can render to other mediums, like the command line.