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
Hi, Felix. I just discovered Qute, and tried it out on Mac OS X 10.8. It seems that exporting to html with Mathjax is adding extra tags so when displayed on the browser, it shows duplicate equations. One non-formated, and the other one formated properly. I know I could just manually delete the unformatted
block, but I was wondering if there is a fix or I'm doing something wrong. Here is a screenshot of the markdown content:
Trying a math equation: $$E = m \cdot c^2$$
Here is a screenshot of what's being published:
Here is what the html code reads like:
<html><head><script type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script></head><body>
<p>Trying a math equation: <span style="display: none;" class="MathJax_Preview"></span></p><div style="font-size: 100%;" class="MathJax_MathML"><math display="block"><mi>E</mi><mo stretchy="false">=</mo><mi>m</mi><mo stretchy="false">⋅</mo><msup><mi>c</mi><mn>2</mn></msup></math></div><script id="MathJax-Element-8" type="math/tex; mode=display">E = m \cdot c^2</script><p></p>
</body></html>
Yes, MathJax is not officially intended to be used like that. The current HTML export via MathJax is sort of a hack. Currently, the best way to export to HTML is to use Pandoc - from the command line if necessary.
E.g. "<" is exported as "<" which MathJax does not process properly.
This is caused by running first MathJax and then Showdown on the document.
I do not think I will fix this before the 0.4 release.
The text was updated successfully, but these errors were encountered: