0.9.0 • Published 2 years ago

hexo-filter-mathjax v0.9.0

Weekly downloads
54
License
MIT
Repository
github
Last release
2 years ago

Hexo Filter MathJax

npm-image lic-image

Server side MathJax Renderer Plugin for Hexo. No front-end scripts are required.

Installation

size-imagedm-image]npm-urldt-image]npm-url

$ 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:

sample

License

Released under the MIT License

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago