VScode-设置

vscode设置

1.下载扩展chinese、markdown all in one、markdown pdf、markdownlint、picgo

2.找到settings.json文件,C:\Users\hfh\AppData\Roaming\Code\User,C:\Users\admin\AppData\Roaming\Code\User

3.复制下面代码到settings.json(或文件-首选项-设置-常用设置-自动换行-on,设置markdownlint扩展、picgo扩展)

{
“workbench.colorTheme”: “Default Light Modern”,//主题设置
“editor.minimap.enabled”: false,//关闭右侧预览
“editor.wordWrap”: “on”,//自动换行
“editor.unicodeHighlight.allowedLocales”: {“zh-hans”: true},//全角逗号
“markdownlint.config”: {
“default”: true,
“MD033”: {“allowed_elements”: [“font”,”li”,”table”,”tr”,”td”,”video”,”audio”,”source”,”iframe”,”script”,”span”]},
“MD041”: false,
“MD034”: false
},//设置markdownlint扩展
//设置picgo扩展
//github图床
“picgo.picBed.github.branch”: “main”,
“picgo.picBed.github.customUrl”: “https://cdn.jsdelivr.net/gh/yanluofenglin/yanluofenglin@main“,
“picgo.picBed.github.path”: “blog/“,
“picgo.picBed.current”: “github”,
“picgo.picBed.github.repo”: “yanluofenglin/yanluofenglin”,
“picgo.picBed.github.token”: “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”,
“picgo.picBed.uploader”: “github”,
//七牛云图床
“picgo.picBed.qiniu.accessKey”: “XckUbms2yHQHQu2W_I6zE13w4YRBlipzTQOF1YsY”,
“picgo.picBed.qiniu.area”: “as0”,
“picgo.picBed.qiniu.bucket”: “typecho-ylfl”,
“picgo.picBed.qiniu.path”: “typecho/“,
“picgo.picBed.qiniu.secretKey”: “aLZRx-GXvt_04Lfwi-smv2x4kBvQERNxGXwHIUgs”,
“picgo.picBed.qiniu.url”: “https://cdn.ylfl.xyz
}