Closed BearToCode closed 6 months ago
I can reproduce that. It seems the last $base
in the following block causes the tokenizer enters meta.paragraph.markdown
scope and fails to come out until the closing ```
. Perhaps it should be changed to $self
.
@zepinglee Good catch. Thanks
A clear and concise description of what the bug is.
LaTeX and TeX are highlighted incorrectly inside Markdown, they stop working after a
\section
(and also other commands) is used. I'm not sure whether this issue is related more with this repo, or with the markdown one; I'll move the discussion there in case.This is the rule that implements LaTeX in Markdown:
A minimal example to reproduce the issue
Go into vscode and type the following(please unescape the backticks `)
Result: