Open mattiasJohnson opened 4 years ago
When formular ends with right brace, and the inline formular does not surrounding by some (non-spacing) text, it would rendering fail.
I think issue #1952 is relevant.
Is this still a issue? I have the same problems. and got to the same fixes as @jim-kirisame Having the latest docker release image installed.
The issue still exists on latest Wiki.js 2.5.201
This issue not exists on latest Wiki.js2.5.219 . But I find that unable to enter formulas after the Chinese period 。
Thank you for share.I am a beginner in formulas and encountered problem like you share, which caused me to be unable to enter formulas after the Chinese period 。
. Based on what you wrote, I realized that I only need to add a space at both ends of the formula to evade this problem.
If someone encounters the same situation as me, just do this and it should be fine.
This problem still exists in version 2.5.280。 Expected behavior All LaTeX should render.
Describe the bug If a row in the markdown editor only is made up by some inline latex it will fail for certain commands.
A row consisting of only
$\frac{1}{2}$
will fail and produce the output\frac{1}
. If surrounded by text (text $\frac{1}{2}$ asdf
) it will render succesfully. Interestingly enough both$\frac{1^{2}}{3^{4}}$
and$\frac{1}{3^{4}}$
will succeed while$\frac{1^{2}}{3}$
will fail which would lead me to believe it somehow is connected to the curly brackets?The same goes for
$\begin{array}{lrc} 1 & 2 & 3 \\ 4 & 5 & 6 \end{array}$
which will by itself produce the output\begin{array}{lrc} 1 & 2 & 3 \\ 4 & 5 & 6 \end
.The inline LaTeX doesn't always fail when not surrounded by any text, for example a row consisting of
$\int_{-\infty}^\infty x^{ix} dx$
renders just fine.To Reproduce Steps to reproduce the behavior:
$\frac{1}{2}$
.Expected behavior All LaTeX should render.
Screenshots The code
the output:
Host Info (please complete the following information):