Skip to content

ikeq/hexo-filter-mathjax-ssr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.