0%

hexo博客如何插入图片

图片插件

  1. 命令直接安装:npm install hexo-renderer-marked
  2. 在config.yaml中更改配置如下:
    1
    2
    3
    4
    post_asset_folder: true
    marked:
    prependRoot: true
    postAsset: true
  3. 使用:

hexo与Typora的完美结合

  1. 文件->偏好设置或者直接<Ctrl-,>进入设置:Typora与hexo的完美结合

  2. 使用<C-f>快捷键,将所有的文章名/替换为空即可删除: