通过设置snippet达到picgo的图床效果,且支持任何图片类型和命名
先把图片的相对路径赋值到剪切板中,在snippet中贴入以下代码即可。
"github image": {
"prefix": "gimg",
"body": [
"![img](https://raw.githubusercontent.com/{UserName}/{Proje}/master/$CLIPBOARD)"
],
"description": "change image dir to github"
}