Closed banrovegrie closed 2 years ago
Hi, @banrovegrie. Thank you for your report. Could you give some output example or public page where the problem is happening?
Hey @asnunes, sorry for the late reply. Here, is an example of the rendering problem.
In one of the equations in the page, if you see the Tex Command its given as follows, but there is no line-break rendered.
a_0 = (a+d)/2,\ a_1 = (b+c)/2,\\ a_2 = (c-b)/2i,\ a_3 = (d-a)/2
I think the problem is that Block Equation
in Notion allows \\
, but MathJax doesn't allow multi-line equations. In that case, KaTeX might be a better option because its typesetting matches Notion's and it's probably faster too at rendering.
Hi @banrovegrie. Sorry for not getting back to you sooner. It seams to be a problem related to MathJax v3. There is an open issue about this on MathJax project. KaTeX seams to be the solution used by Notion project and it may feat better. I will consider migrate from MathJax to KaTeX on future releases.
In the mean time, you are free to open a PR or you may get only the html output from Notion page conversion and implement KaTeX on it.
Thank you for your report :)
The MathJax rendering is erroneous. For example, it doesn't recognize
\\
as a marker for the equation to be rendered on the next line.