Open xylix opened 3 days ago
Tried out MathJax but couldn't get it to work on .md files. Sample file: https://github.com/xylix/xylix.github.io/blob/main/src/lib/posts/math-test.md
Attempted:
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script>
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
}
};
</script>
into the app.html page.
The markdown latex didn't work, instead it gets tranformed, presumably by mdsvex.
Putting this into a .svelte
file did work.
$(a \ne 0)$ $\vert x_1 - 1 \vert + e(0,0) < 1 \iff e(x_1,1) + \vert 0 - 0 \vert < r_2$
Options: