Skip to content
Pre-render MathJax
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

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.