Hexo全记录
安装 Hexo Cli1npm i -g hexo-cli
验证安装1hexo -v
指定目录(空目录)1hexo init
得到下面的目录
配置主题1git submodule add theme地址 themes/地址名称
修改_config.yml 文件
修改 theme 选项为自己的主题名称
hexo 指令123hexo clhexo ghexo s
启动成功
testBlog
一级标题代码测试:```pyprint(“Hello”)```
注意:这里因为我放在md文件中的,所以加上了\,不解析```,实际测试时请去掉\。
图片测试:
引用测试:
这是一条引用
二级标题无序列表测试:
哈哈
嘿嘿
吼吼
三级标题四级标题
Hello World
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 StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
