-
Notifications
You must be signed in to change notification settings - Fork 97
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
Section syntax highlighting stop working when adding extra space to a table separator (|==
)
#894
Comments
Related to #686 but in this case we might be able to do a fix by updating the grammar. If you want to take a look: master/syntaxes/Asciidoctor.json and more specifically: asciidoctor-vscode/syntaxes/Asciidoctor.json Lines 1973 to 2009 in e017e77
|
Indeed! Sent a PR with a fix proposal. |
I am trying to have syntax highlighting for this piece of asciidoc code in the editor:
Notice that the table end separator is followed by an extraneous space character:
|===
.If processing this code with
asciidoctor
version2.0.23
, the result looks good:Syntax highlighting stops working after the table end separator explained above, as can be seen with
== Subsection 3
and== Subsection 4
remaining in default color:I expected
== Subsection 3
and== Subsection 4
to be colored the same as== Subsection 1
and== Subsection 2
.The text was updated successfully, but these errors were encountered: