hexo + picture

  • 首先修改_config.yml文件中的post_asset_folder为true
  • 在hexo的目录下执行
    1
    npm install https://github.com/CodeFalling/hexo-asset-image --save
  • 再次hexo new pic,就会生成一个放置图片的文件夹和pic.md
  • 比如填写
    1
    ![logo标志](目录名/图片名.jpg)

就可以插入图片了。
pic