# VSCode 安装 code 命令
使用 command + shift + p (注意 window 下使用 ctrl + shift + p ) 然后搜索 code,选择 install 'code' command in path。
# 去除 VScode 编写 markdown 时的警告
command + ,打开设置,搜索「markdown」,找到markdownlint,一般是「语言名称+lint」的形式,点击「Markdownlint:Config」,在 settings.json 中编辑规则即可。比如"markdownlint.config": {"MD001": false,"MD010": false}。
# vuepress 运行 blog
node -v: v16.15.0vuepress -v: vuepress/1.9.7 darwin-x64 node-v16.15.0vue --version: @vue/cli 4.5.8
# vitepress 运行 blog
TODO
# 插件
- PicGo:结合 GitHub+jsdelivr(免费 CDN)配置图床。参考这篇 (opens new window)
# 下载历史版本 vscode
eg. 1.73.1。see here (opens new window)
| platform | link |
|---|---|
| macOS Universal | https://update.code.visualstudio.com/{version}/darwin-universal/stable |
| macOS Intel chip | https://update.code.visualstudio.com/{version}/darwin/stable |
| macOS Apple silicon | https://update.code.visualstudio.com/{version}/darwin-arm64/stable |
# Office Viewer
在vscode中直接查看office文件!
# Markdown PDF
转换markdown文件为多种其他格式!
# Markdown All in One
在settings.json中配置格式化:
{
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one",
"editor.formatOnSave": true,
"editor.formatOnPaste": true
}
}
1
2
3
4
5
6
7
2
3
4
5
6
7