0.9.0 • Published 3 years ago
hexo-filter-mathjax v0.9.0
Hexo Filter MathJax
Server side MathJax Renderer Plugin for Hexo. No front-end scripts are required.
Installation
$ npm install hexo-filter-mathjax
Options
You can configure this plugin in Hexo _config.yml
. Default options:
mathjax:
single_dollars: true
cjk_char_width: 16
svg: true
Usage
Set mathjax: true
in Front-matter of each article (post / page) that you would like to enable mathjax. Example:
---
title: Title
categories: Physics
date: 1984-01-24 16:00:00
tags:
mathjax: true
---
Then you can use the LaTeX syntax in the article.
Sample
Write the following LaTeX code:
$$
\frac{\partial u}{\partial t} = h^2 \left( \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2}\right)
$$
Then you will get:
License
Released under the MIT License
0.9.0
3 years ago
0.8.1
3 years ago
0.8.0
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.6.3
4 years ago
0.6.2
4 years ago
0.6.1
5 years ago
0.6.0
5 years ago
0.5.3
5 years ago
0.5.2
5 years ago
0.5.1
5 years ago
0.5.0
5 years ago
0.4.3
5 years ago
0.4.2
5 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.0
5 years ago
0.1.3
5 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago