jlelong / vscode-latex-basics

LaTeX grammars for Visual Studio Code
MIT License
19 stars 10 forks source link

Extended support for hyperlinks, add support for quotes #59

Closed nilsjor closed 1 year ago

nilsjor commented 1 year ago

Another attempt at #53, and #51.

The grammars have been extended to tokenize the URL string and the displayed text when creating hyperlinks. It handles the following common commands:

Image

Additionally, words or sentences inside single or double citation marks ``like this'' will be highlighted as a string. Captures everything except newlines. Negative lookbehind prevents false positives when characters are escaped