Closed ikatyang closed 3 years ago
The actual ATX heading markers (#, ##, etc.) are not queryable now, we should expose them as anonymous nodes so that it could be queried.
#
##
Similar to what I did in ikatyang/tree-sitter-yaml#9.
After second thought, I'm going to distinguish heading level tokens instead of expose literal aliases since literal aliases can only be applied to ATX heading markers but not Setext heading underlines.
The actual ATX heading markers (
#
,##
, etc.) are not queryable now, we should expose them as anonymous nodes so that it could be queried.Similar to what I did in ikatyang/tree-sitter-yaml#9.