Hexo+GithubPages

2018-07-29  本文已影响0人  gb_QA_log

categories: Diary
title: Hello World
date: 2017-03-26 13:53:24
mathjax: false
tags: [hexo,github]


First

thanks the detailed blogs of fzy-Line

second

there are some problems when using MathJax in the Hexo environment. It's a mistake of regularization. According to this passage, I unstill the hexo-renderer-kramed and install the engine hexo-renderer-marked.

Quick Start

$ hexo new "My New Post"
$ hexo server
$ hexo clean
$ hexo generate
$ hexo deploy

backup

为了将本地hexo下的文件备份到github的github.io项目中,先在github.io项目中创建backup分支,再将本地hexo链接到github上,在push时,因为本地是master分支,而远处是backup分支,所以需要用:backup指出,不然是默认同名branch。

git push origin master:backup
上一篇 下一篇

猜你喜欢

热点阅读