You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using LaTex, even when clearly demarcated by $$ on new lines, snippets of that LaTex block end up in the auto-generated ToC if (and seemingly only if) there is a = on its own line. The line that ends up in the ToC is the line immediately before the = in the LaTex block.
What's the expected result
LaTex expressions should not be picked up in the ToC regardless of what's inside them since they are demarcated by $$.
How to reproduce
Write a LaTex block that has a = on its own line. Generate the ToC. The line above the = will be inserted into the ToC.
Other information
I am attaching a test MarkDown file that clearly reproduces this bug. test.md
The text was updated successfully, but these errors were encountered:
What's the problem
Seems to be a parsing error.
When using LaTex, even when clearly demarcated by
$$
on new lines, snippets of that LaTex block end up in the auto-generated ToC if (and seemingly only if) there is a=
on its own line. The line that ends up in the ToC is the line immediately before the=
in the LaTex block.What's the expected result
LaTex expressions should not be picked up in the ToC regardless of what's inside them since they are demarcated by
$$
.How to reproduce
Write a LaTex block that has a
=
on its own line. Generate the ToC. The line above the=
will be inserted into the ToC.Other information
I am attaching a test MarkDown file that clearly reproduces this bug.
test.md
The text was updated successfully, but these errors were encountered: