Skip to content

修改markdown复制图片的路径

  • 通过file->preference->setting打开设置,找到markdown.copyFiles.destination,调整这一项

alt text

TIP

json
    "markdown.copyFiles.destination": {
        "**/*": "_imgs/${documentBaseName}/"
    }

这样就会复制到markdown同级目录 _imgs/[当前markdown文件名]/图片1.jpg