Markdonw All in one
- 粘贴的说明
- 如果你已经选中了一段文字,直接在文字上按 Ctrl + V 粘贴一个 URL。
- 结果: 它不会覆盖文字,而是直接把文字变成一个超链接格式:选中的文字。
"markdown.editor.pasteUrlAsFormattedLink.enabled": "smartWithSelection"
- 列表自动补全
- 按tap键进入子列表
- 按tap键进入一下层子列表
- 按删除键回到上层列表
- 按tap键进入子列表
- 任务列表自动补全
- 按tap键进入一下层子列表
- alt+c自动切换任务状态
- 这是在新一行的时候按删除键回到上层列表
- 序号自动修复
- 引用链接
- 文内引用
语法:
[]()- []内是描述性文字
- ()内是锚点,是
#+锚点名字 - 锚点名字可以是某个标题,如果是标题的话,前面的
#就可以不要,比如Markdonw All in one。在括号里先输入#就会有提示 - 锚点名字可以是文章中的某段文字,在这里随意填写。在括号里先输入
#没有提示,得记得之前自己设置的锚点 - 锚点名字可以是跨文件中的某段文字,在这里随意填写。在括号里先输入文件名字,然后输入
#,然后输入自定义锚点名字或者标题
indent-rainbow
大部分功能vscode已经可以取代,保留的原因是它可以进行空白区域块着色,更显目
markdown-header-coloring颜色样板
颜色样板一
[
"markdown-header-coloring.userDefinedHeaderColor": {// 方案一
"enabled": true,
"Header_1": {
"color": "",
"backgroundColor": "background: linear-gradient(to right, rgba(245, 189, 6, 0.3), transparent); opacity: 0.5",
"textDecoration": "font-weight: 800; font-size: 1.8em; background: -webkit-linear-gradient(0deg, #FFFFFF, #f5bd06, #FF8F00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);"
},
"Header_2": {
"color": "",
"backgroundColor": "background: linear-gradient(to right, rgba(238, 16, 190, 0.2), transparent); opacity: 0.5",
"textDecoration": "font-weight: 700; font-size: 1.6em; background: -webkit-linear-gradient(0deg, #FF80AB, #ee10be, #880E4F); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"
},
"Header_3": {
"color": "",
"backgroundColor": "background: linear-gradient(to right, rgba(5, 226, 255, 0.2), transparent); opacity: 0.5",
"textDecoration": "font-weight: 600; font-size: 1.4em; background: -webkit-linear-gradient(0deg, #80DEEA, #05e2ff, #01579B); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"
},
"Header_4": {
"color": "",
"backgroundColor": "background: linear-gradient(to right, rgba(55, 255, 19, 0.15), transparent); opacity: 0.5",
"textDecoration": "font-weight: 600; font-size: 1.3em; background: -webkit-linear-gradient(0deg, #C5E1A5, #37FF13, #1B5E20); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"
},
"Header_5": {
"color": "",
"backgroundColor": "background: linear-gradient(to right, rgba(255, 106, 0, 0.15), transparent); opacity: 0.5",
"textDecoration": "font-weight: 600; font-size: 1.2em; background: -webkit-linear-gradient(0deg, #FFCC80, #ff6a00, #BF360C); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"
},
"Header_6": {
"color": "",
"backgroundColor": "background: linear-gradient(to right, rgba(163, 190, 140, 0.1), transparent); opacity: 0.5",
"textDecoration": "font-weight: 600; font-size: 1.1em; background: -webkit-linear-gradient(0deg, #D1D1D1, #A3BE8C, #4F5B46); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"
}
},
]
颜色样板二
"markdown-header-coloring.userDefinedHeaderColor": {
"enabled": true,
"Header_1": {
"color": "#f5bd06", // 纯 6 位 Hex,不要带透明度后缀
"backgroundColor": "#f5bd06",
"textDecoration": "font-size: 1.2em; font-weight: bold; text-shadow: 2px 2px 3px rgba(0,0,0,0.5)",
"overviewRulerColor": "4"
},
"Header_2": {
"color": "#ee10be",
"backgroundColor": "#ee10be",
"textDecoration": "font-size: 1.1em; font-weight: bold; text-shadow: 2px 2px 3px rgba(0,0,0,0.5)",
"overviewRulerColor": "4"
},
"Header_3": {
"color": "#05e2ff",
"backgroundColor": "#05e2ff",
"textDecoration": "font-weight: bold; text-shadow: 2px 2px 3px rgba(0,0,0,0.5)",
"overviewRulerColor": "4"
},
"Header_4": {
"color": "#37FF13",
"backgroundColor": "#37FF13",
"textDecoration": "font-weight: bold; text-shadow: 2px 2px 3px rgba(0,0,0,0.5)",
"overviewRulerColor": "4"
},
"Header_5": {
"color": "#ff6a00",
"backgroundColor": "#ff6a00",
"textDecoration": "font-weight: bold; text-shadow: 2px 2px 3px rgba(0,0,0,0.5)",
"overviewRulerColor": "4"
},
"Header_6": {
"color": "#A3BE8C",
"backgroundColor": "#A3BE8C",
"textDecoration": "font-weight: bold; text-shadow: 2px 2px 3px rgba(0,0,0,0.5)",
"overviewRulerColor": "4"
}
},