ikeq / hexo-filter-mathjax-ssr

Pre-render MathJax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Pre-render MathJax

License:MIT License


Languages

Language:JavaScript 100.0%