treeman / tree-sitter-djot

MIT License
31 stars 5 forks source link

Include plain text in syntax tree #37

Closed StratusFearMe21 closed 6 months ago

StratusFearMe21 commented 6 months ago

This makes it so that plain text is included in the syntax tree. My use case for this is rendering the syntax tree produced by this parser to a different format (HTML). If content from the input is missing in the tree, it's a lot harder to use for that case.

StratusFearMe21 commented 6 months ago

Fixing some parsing errors