Prerender mathjax in metalsmith
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

metalsmith-mathjax

Prerender mathjax in metalsmith

##Usage

Just add mathjax: true in the gray matter and this plugin will prerender your MathJax as SVG. This cuts down on the Javascript overhead and eliminates the delay one typically sees where the raw TeX renders for a second before MathJax loads.

Of course, you also need to add the plugin to metalsmith.json.

Right now, it's zero-config. Happy for suggestions.

##License MIT