Pre-render MathJax into svg using mathjax-node.
$ npm install hexo-filter-mathjax-ssr --save
You can configure this plugin in _config.yml
.
mathjax:
disable: false
inlineQuote: $ # or `[$, $]`
blockQuote: $$ # or `[$$, $$]`
MathJax:
SVG:
font: Gyre-Pagella
- disable - Disable plugin, default
false
. - inlineQuote - Similar to
MathJax.inlineMath
, but only support one pair, default$
. - blockQuote - Similar to
MathJax.blockMath
, but only support one pair, default$$
. - MathJax - MathJax configuration, only support some of the svg options, see svg processor.
Licensed under MIT.