Skip to content
Pre-render MathJax
Branch: master
Clone or download
Latest commit b49131c Jun 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib add disable option Jun 26, 2019
.gitignore init Jun 24, 2019
.npmignore add disable option Jun 26, 2019
LICENSE
README.md add disable option Jun 26, 2019
index.js update Jun 26, 2019
package.json update Jun 26, 2019

README.md

hexo-filter-mathjax-ssr

npm

Pre-render MathJax into svg using mathjax-node.

Preview

Installation

$ npm install hexo-filter-mathjax-ssr --save

Options

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.

License

Licensed under MIT.

You can’t perform that action at this time.