阅读更多 < !–more– >
1、排版
- 一般情况下,源程序有效注释量必须在20%以上。
说明:注释的原则是有助于对程序的阅读理解,在该加的地方都加了,注释不宜太多也不能太少,注释语言必须准确、易懂、简洁。
- 相对独立的程序块之间、变量说明之后必须加空行。
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对象,将图像添加到对象中。