Hello World

This post is a backup about Hexo, including how to use it and which plugins were installed.

Usages

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Math Equation

First I use markdown-it and hexo-markdown-it.

Then a use hexo-filter-mathjax.

However the escape and unescape cannot work well, so there I forked and changed another package to skip mathjax syntax correctly - markdown-it-mathjax-skip, which is not upload to npm.

Equation one:

Source:

1
2
3
4
5
6
7
$$
\begin{aligned}
\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy
\end{aligned}
$$

Equation of later fusion.

Source:

1
2
3
4
5
6
7
8
9
10
$$ \frac{a}{c} = \sqrt{b} $$

$$ f_L = (G^{M_i}\_L \otimes (G^{M_i}\_{L-1})) $$

$$ f_L = \left(G^{M_i}_L \otimes (G^{M_i}_{L-1})\right) $$

$$
f_L = \left(G^{M_i}_L \otimes (G^{M_i}_{L-1} \otimes \cdots G^{M_i}_1(f_0^{M_i})\right) \oplus \left(G^{M_j}_L \otimes (G^{M_j}_{L-1} \otimes \cdots G^{M_j}_1(f_0^{M_j})\right)
$$

Font

Using “JetBrains Mono” and “Source Han”

Feed with rss

Install hexo-generator-feed