codimd
codimd copied to clipboard
Configure MathJax Fonts
trafficstars
Is it possible to select a MathJax font? It seems that STIX is being used by default. Normally, one would add:
<script>
MathJax.Hub.Config({
"HTML-CSS": {
preferredFont: "TeX"
}
});
</script>
but of course scripts are disabled. It would be nice to have an option like:
mathjax:
preferredFont: TeX
in the YAML metadata.
Hi @paolieri, Thanks for suggestion, feel free to open PR for this.