- (#91) Highlight
\zref
and\zlabel
. - (#93) Highlight of
\parencites
withmultiprenote
and/ormultipostnote
. - (#96) Highlight the content of comment's environment as comments.
- (#89,#92) Improve LaTeX3 syntax.
- (#97) Improve
\iffalse....\fi
to reduce wrong detections.
- (#84) LaTeX3 has been integrated into the standard LaTeX grammar.
- (#86,#87) The repo now hosts all grammar and language files provided by the LaTeX-Workshop extension.
- (#81) Base grammar are maintained in YAML format
- Date release of 1.8.0
- Wrong
package-lock.json
- (#82) Highlight content of
\directlua/\luadirect
aslua
code. - (#78) Highlight
\iffalse...\fi
blocks as comments. - (#77) Add support for the
robust-externalize
package
- Define the base grammars in yaml format
- (#83) Use
$self
instead of$base
to fix LaTeX grammar injection.
- (#74) Support the
terminal
environment.
- (#70) Do not highlight double quoted text because it causes too many issues.
- (#72) Make sure
@
is a word character and not a delimiter when matching macro names. @muzimuzhi. - (#65) Major improvement of the BibTeX grammar by @zepinglee:
- Fix character class for BibTeX identifiers
- Exclude closing brace in BibTeX entry key
- Fix syntax of
@comment
command - Remove illegal character
@
- Fix
#
operator with other field tokens - Remove escaping braces in strings
- Include nested braces in quote-delimited strings
- (#69, #67) Highlight the text parameter of
\href
,\hyperimage
and\hyperref
using the full LaTeX syntax.
- (#63) Highlight non ascii characters in labels
- Recognize booktabs as an array environment
- (#64) Revert #46 :
%
is a standard character in bibtex files - (#65) Do not highlight single quoted text
- (#59, #61) Support single and double quoted text
- (#59) Extend support for hyperlinks
- (#49, #56) Allow special characters and numbers in bibtex
@string
variables - (#48, #50) Support non-Latin macro names
- Environments from
lstlistings
may not take any arg. - (#60) Do not highlight
\%
in bibtex
- Environments with name matching
[a-zA-Z]*code
are highlighted as minted - (#46) Support % as a comment sign for bibtex files
- (#47) Capture urls in bibtex files
- Use class
\p{Alphabetic}
instead of\w
to allow accents in references and citations in LaTeX grammar.
- Declare
\{...\}
as a bracket pair. - Highlight
\refcite
. See James-Yu/LaTeX-Workshop#3597.
- Allow single letter words. See microsoft/vscode#170588.
- (#41) Make
[]
optional for code environments.
- (#44) Consistent highlighting of keywords followed by numbers
- (#43) Update
\if...
- and csname-related TeX primitives
- (#38) Add
\left. ... \right|
and vice-versa as bracket pairs. - (#37) Add
tabularray
support. - (#36) Recognize multiline options in
\usepackage
commands. - (#28) Recognize multiline options in minted and code environments.
- Use
arguments.optional
instead ofoptional.arguments
in scope names.
- Support ``cite<...>` commands from apacite.
- (#26) Recognize envs from nicematrix package.
- (#29) Add pyluatex support.
- (#30) Refactor how to tokenize
begin
/end
statements. - (#31) Refactor language embedding support: a new
js
script is responsible for generating the set of rules for every embedded language. This engineering change helps maintenance.
- (#33) Fix typo in word reference alternation.
- (#34) Remove double checking for
\|
.
- (#21) Enable region folding in TeX and LaTeX files.
- (#16) Add
{
toautoCloseBefore
.
- (#20) Highlight
\label
with an optional argument. - (#17) Adopt an inclusive definition of word pattern.
- (#13) Add big delimiters
|
,\|
,[lr][vV]ert
,\langle...\rangle
to bracket pairs. - (#15) Declare the content of the environments
((?:julia|jl)(?:code|verbatim|block|concode|console|converbatim)
as Julia code.
- (#8) Support for
NiceTabular
. - (#11) Declare
\bigl...\bigr
and friends as bracket pairs.
- (#6) Set a single grammar scope to variable-size delimiters to enable bracket pair highlighting and colouring.
- Remove support for DocTeX, BibTeX-Style, LaTeX3 and Weave LaTeX. These languages are directly provided by LaTeX-Workshop.
- Use
vscode-extend-language
to derivemarkdown-latex
fromlatex
.
- (#5) Wrong colouring of environment begin/end in inline maths.
The LaTeX grammar and language configuration files are outsourced from https://github.com/James-Yu/LaTeX-Workshop.git to provide LaTeX grammar support in VS Code as a built-in extension.