opencards
opencards copied to clipboard
Using math in markdown
Is there a way to use math terms inside markdown files. the common math identifer like $...$
or \\(...\\)
don't work.
It does not work yet. I'll check if we could enable MathJax for html rendering.
Also see
Hi, has mathjax been incorporated into open cards? I see that "Better support for equations (e.g. using MathJax)" is listed as one of the advantages of markdown slides on the help page
If I render the following in my markdown viewer,
## Testing the math output?
This is a sum: $\sum{x}$, and so is this $a+b$. This is a fraction: $\frac{a}{b}$.
Then I get the following output:
However, in OpenCards, the same markdown/mathjax looks like this:
It seems like mathjax isn't rendering for me. I'm running Ubuntu 16.04 LTS and I installed using the .deb
package.
It's not yet incorporated. However, I still think that it should be doable since there is at least one reported example with http://waterloo.sourceforge.net/JavaFX/quadratic.html
However, in general there might be issues as described under https://stackoverflow.com/questions/32146692/loading-mathjax-in-javafx-webview
Feel welcome to put together a PR.