On Thu, Apr 14, 2016 at 6:49 AM, john lunzer <[email protected]> wrote:
> It appears that QtWebKit does support Latex. I found this link > <https://gist.github.com/mitya57/3497662> which shows some latex being > rendered (didn't test it myself). You'd have to convert the MD math or > mathml to Latex. > I didn't have any luck with this, so I went to the getting started with mathjax <http://docs.mathjax.org/en/latest/start.html> page. Here is their complete example: <!DOCTYPE html><html><head><title>MathJax TeX Test Page</title><script type="text/x-mathjax-config"> MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script><script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML"></script></head><body> When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$</body></html> Pasting this into a Leo body text and viewing with VR3 kinda works. It shows the <body> element plain, not rendered. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
