放在本地文件首先在987860690.github.io目录下确认 _config.yml 中有 post_asset_folder:true 。在 hexo 目录,执行
$ npm install https://github.com/CodeFalling/hexo-asset-image --save
之后再使用 hexo new ‘new’ 创建新博客的时候,会在source/_posts里面创建.md文件的同时生成一个相同的名字的文件夹。把该文章中需要使用的图片放在该文件夹下即可。使用的时候
![](photo/0.PNG)
![](https://i-blog.csdnimg.cn/blog_migrate/88a430f8c6985bcd727a3af83fed0ca9.png)
![](http://easyread.ph.126.net/Zq9WrXzi4xk7HHRiJYs0kg==/8796093022429029849)
第一次发表图片
插入音乐可以使用网易云音乐,搜索想要的歌曲,点击歌曲名字进入播放器页面,点击生成外链播放器;复制代码,直接粘贴到博文中即可。这样会显示一个网易的播放器,可以把
border="0" width="298" height="52" src="https://music.163.com/outchain/player?type=2&id=32192436&auto=1&height=32">
第一次发表音乐