Hexo发布带有本地图片的博文

测试第一个带图片的hexo博文

图片为三无MarBlue的寄明月单曲封面

自己P的情侣头像


由于图片体积太大而github仓库的国内访问速度太慢,今后的图片都使用新浪微博作为网络图源
hexo博文插入图片方法

1
2
3
{% asset_img nan.jpg 这是一个新的博客的图片的说明 %}
<img src="https://leave.ren/nan.jpg" width="50%" height="50%"/>
<img src="src" title="这是一个新的博客的图片的说明" width="50%" height="50%"/>

直接在图片后面加上对应的CSS样式即可!

1
[test image size](url)

改写为

1
2
3
![test image size](url){:class="img-responsive"}
![test image size](url){:height="50%" width="50%"}
![test image size](url){:height="100px" width="400px"}

-------------本文结束感谢您的阅读-------------
Code 504: The app is archived, please restore in console before use. [400 GET https://leancloud.cn/1.1/classes/Comment]
Powered By Valine
v1.5.2