Hello Hexo

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

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

Markdown renderer

hexo默认的markdown渲染插件hexo-renderer-marked效果不是很好,有些复杂公式渲染不出来,需要安装一个更好的markdown rendrer: hexo-renderer-kramed

1
2
$ npm un hexo-renderer-marked --save
$ npm i hexo-renderer-kramed --save

安装好之后将其添加进站点目录下的package.json中,并删除默认markdown渲染插件

---------------- The End ----------------

作者: brooksjay
联系邮箱: jaypark@smail.nju.edu.cn
本文地址: https://brooksj.com/2019/04/10/hello-world/
本文基于 知识共享署名-相同方式共享 4.0 国际许可协议发布
转载请注明出处, 谢谢!