hackmdio / hackmdio/codimd

Configure MathJax Fonts

Open
#1,191 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to select a MathJax font? It seems that STIX is being used by default.
Normally, one would add:
```

MathJax.Hub.Config({
"HTML-CSS": {
preferredFont: "TeX"
}
});

```
but of course scripts are disabled. It would be nice to have an option like:
```
mathjax:
preferredFont: TeX
```
in the YAML metadata.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.