-
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
Links doesn't work properly #116
Comments
It's not caused by the extension, the error is in VSCode's uri recognition. You can test it by putting the same link into a new blank file ( VSCode seems to recognize as link any uri identifier ( |
@MatteoCampinoti94 Well, thank you. In this case I will post it in VS Code repository itself. |
👍 |
I was looking at the Sublime AsciiDoctor package (which is what I believe the current regex is "based off of") and the capture groups look different. Submlime Regex: https://github.com/asciidoctor/sublimetext-asciidoc/blob/master/Syntaxes/Asciidoctor.tmLanguage#L1390-L1400 When I see links the highlighting captures everything to the apostrophe, including example in an asciidoc file: - https://asciidoctor.org/docs/asciidoc-writers-guide/[AsciiDoc Writer's Guide] |
Example:
And here is how it will look inside VS Code:
As you see, the syntax highlighting isn't correct. Aslo, if you click this link, it will open incorrect address:
The text was updated successfully, but these errors were encountered: