codimd icon indicating copy to clipboard operation
codimd copied to clipboard

Configure MathJax Fonts

Open paolieri opened this issue 6 years ago • 1 comments
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.

paolieri avatar Apr 12 '19 04:04 paolieri

Hi @paolieri, Thanks for suggestion, feel free to open PR for this.

jackycute avatar May 12 '21 16:05 jackycute