hexo搭建博客(三) - 新建文档Markdown
新建文章的方法
(1)通过命令新建
$ hexo new 'title' # 新建文章
$ hexo new draft 'draftname' #新建草稿
(2)编辑Markdown文档
执行上述命令后,会在仓库文件夹下的/source/_posts中找到新增的Markdown文档。
(3)生成,push
$ hexo g
$ hexo s
$ git add -A
$ git commit -m '说明'
$ git push origin master
Markdown中增加代码块等其他标签块
Markdowm添加图片 - 图床功能
- sm.ms:免费、稳定,未来的稳定性不可控。
- 微博图床:国内、速度不错,有点麻烦
- 七牛云:国外,稳定,要收费
- imgur:老牌稳定图床,国外服务器,慢
- 腾讯云、阿里云
- 图床工具:Picgo
相关文章
未找到相关的 Issues 进行评论
请联系 @etwinnie 初始化创建