Commit graph

6 commits

Author SHA1 Message Date
robincaloudis 63b07dbd7f
Fix wrong language scope in markdown inline math expression (#172957)
Let 3rd matching group be an end

Previously, the first and third group was
defined as beginning. This is not
true as the first group of the regular
expression is the beginning of the math
inline markdown expression and the third
group the _end_. Once the third group is
correctly assigned, its language scope can
be changed accordingly.
2023-02-01 06:44:37 -08:00
Matt Bierner 0eee604f01
Allow non-word character after inline math code block
Fixes #136584
2021-11-08 17:43:46 -08:00
Matt Bierner 17dc026824
Fix a few more cases of math block highlighting
Fixes #135254
2021-10-20 15:56:28 -07:00
Matt Bierner c38d441d37
Make sure inline math is marked as markdown-math
For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
2021-10-20 14:22:44 -07:00
Matt Bierner 3d2a28fcd8
Disable math highlighting in markdown fenced code blocks 2021-07-01 15:46:56 -07:00
Matt Bierner 2ae31a96cf
Add math grammar/language to markdown math blocks
Fixes #124719
2021-06-17 18:01:19 -07:00