前言
我们知道,使用Github+hexo搭建一个个人博客确实需要花不少时间的,我们搭好博客后使用的挺好,但是如果有一天我们电脑突然坏了,或者换了系统,那么我们怎么使用hexo再发布文章到个人博客呢?而且如果我们有好几台电脑,如何每台电脑上都可以随时随地写我们的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.
如 $\lim_{x \to 0} \frac{\sin x}{x}$ 渲染的是
$$
\begin{eqnarray}
\lim_{x \to 0} \frac{\sin x + x^2 + x^3}{x} & = & \lim_{x \to 0} \frac{\sin x }{x} + \lim_{x \to 0} \frac{x^2 }{x} + \lim_{x \to 0}\frac{x^3}{x}
\\ & = & \lim_{x \to 0}\frac{\sin x}{x}
\\ & = & 1
\end{eqnarray}
$$
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true
在代码的世界里徜徉,键盘敲击间,思绪如泉涌,编织着逻辑的纷纭。