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 | $$ |
Equation of later fusion.
Source:
1 | $$ \frac{a}{c} = \sqrt{b} $$ |
Font
Using “JetBrains Mono” and “Source Han”
Feed with rss
Install hexo-generator-feed