Giter Club home page Giter Club logo

hexo-filter-mathjax-ssr's Introduction

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.

hexo-filter-mathjax-ssr's People

Contributors

ikeq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hexo-filter-mathjax-ssr's Issues

blockQuote显示公式的问题

按照提示将如下的代码添加到_config.yml:

  disable: false   
  inlineQuote: $ # or `[$, $]`   
  blockQuote: $$ # or `[$$, $$]`   
  MathJax:   
    SVG:   
      font: Gyre-Pagella

inlineQuote的公式显示没有问题,但是blockQuote的公式显示为MATHJAX-SSR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.