You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the language agnostic bracket matching algorithm, strings, regular expressions and comments are ignored.
We recognize these syntactical constructs if the scope name contains: string, regex or comment. Currently, these are not configurable. It is implemented here.
In this case, the markdown grammar does not identify the region between `s as either of these and the bracket matching algorithm proceeds to attempt to match brackets inside that region.
@mjbvz I leave it up to you if you'd want to sneak in any scope name in the .md grammar that contains the text string in it for the inline markup case. e.g. markup.inline.raw.markdown => markup.inline.raw.string.markdown, etc.
I was writing a markdown file, and found the right bracket matching incorrect to the bracket in a code string. The text i wrote is shown as followed.
The last right bracket did not match the first one, but the one in regex.
I have try some similar case in C code but it works well. I think there may be something special that forget to make effect on markdown file.
Reproduces without extensions: Yes/No
The text was updated successfully, but these errors were encountered: