-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ranged tags aren't highlighted properly #60
Comments
UPD: ranged tags work when there's just text inside of them, but some markup like headings or other tags break it. |
This seems to be due to ranged tag content expecting a paragraph: Line 821 in 9766442
So any non-paragraph markup is disallowed |
@vhyrro I think this can be fixed by simply replacing the |
This doesn't look right. The opening tag is highlighted, while the closing one isn't.
Looking at the TS tree shows that it doesn't parse the segment correctly
This also means that the tags don't do what they're supposed to, and e.g. text inside of the
|example
tag is still renderedThe text was updated successfully, but these errors were encountered: