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
Somehow the conversion misses backslashes \ that are in front of other special characters, like e.g. \ or { when in math mode. This means that things
like new lines \\ or \left\{ don't work in math mode.
Expected behaviour
A lot of text
$$\begin{aligned}H &= A \\ &= \left\{B \right\}\end{aligned}$$
more text
gets converted to
<p>A lot of text </p><p>$$
\begin{aligned}
H &= A \\
&= \left\{B \right\}
\end{aligned}
$$</p><p>more text </p>
Actual behaviour
It gets converted to
<p>A lot of text </p><p>$$
\begin{aligned}
H &= A \
&= \left{B \right}
\end{aligned}
$$</p><p>more text </p>
The text was updated successfully, but these errors were encountered:
jlbosse
pushed a commit
to jlbosse/vimwiki_markdown
that referenced
this issue
Dec 20, 2020
Already mentioned it in #14
You can fix it by installing the markdown_math_escape plugin with pip (pip install markdown_math_escape), and enable it by setting the environment variable for the additional markdown extensions: export VIMWIKI_MARKDOWN_EXTENSIONS=markdown_math_escape
Somehow the conversion misses backslashes
\
that are in front of other special characters, like e.g.\
or{
when in math mode. This means that thingslike new lines
\\
or\left\{
don't work in math mode.Expected behaviour
gets converted to
Actual behaviour
It gets converted to
The text was updated successfully, but these errors were encountered: