download the Typora-linux-x64.tar.gz,我的是64位机器
解压后文件夹下的Typora是可执行文件,cd 到该目录下,./Typora会运行程序。
添加软链接
ln -s typora所在目录/TYpora 桌面所在目录
hexo 常用的markdown语法
博客文件均保存在 hexo/_posts/文件夹下
首先在 hexo > source目录下建一个文件夹叫Image,用来保存博客中的图片。
然后打开Typora的 文件 > 偏好设置,进行如下设置。
基于github的评论组件
Gitalk can only use GitHub accounts for comments.
Click here to sign up for a new OAuth Application
Other content can be filled in at will, but be sure to fill in the correct callback URL (usually the domain name corresponding to the comment page). Then you will get a Client ID and a Client secret.
Create a repository you want to store Gitalk comments in your GitHub.
CImageList创建:读取图像,创建CImageList对象,将图像添加到对象中。