hexo及pandoc-render配置

hexo安装及配置

安装

首先安装git和node.js,然后通过如下命令:

1
2
3
4
5
npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server

修改配置

_config.yml

网站的配置信息,site部分和URL部分自行配置,,writing部分略修改,其余默认。

writing部分中启用asset文件夹

pandoc-render配置

首先安装pandoc

配置

先安装hexo-renderer-pandoc

1
npm install hexo-renderer-pandoc --save

配置参考hexo-renderer-pandoc

Next主题配置

参考 next使用文档next wiki

另参考如何让谷歌搜索到自己在GitHub上的博客