426 lines
9.2 KiB
JSON
426 lines
9.2 KiB
JSON
{
|
||
// Place your snippets for markdown here. Each snippet is defined under a snippet name and has a prefix, body and
|
||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||
// same ids are connected.
|
||
// Example:
|
||
"center": {
|
||
"prefix": "center",
|
||
"body": [
|
||
"<center>$1</center>"
|
||
],
|
||
"description": "居中"
|
||
},
|
||
"连加": {
|
||
"prefix": "lj",
|
||
"body": [
|
||
"\\sum"
|
||
],
|
||
"description": "连加"
|
||
},
|
||
"连乘": {
|
||
"prefix": "lc",
|
||
"body": [
|
||
"\\prod"
|
||
],
|
||
"description": "连乘"
|
||
},
|
||
"img": {
|
||
"prefix": "img",
|
||
"body": [
|
||
"<center><img src='$1'></center>"
|
||
],
|
||
"description": "插入图片"
|
||
},
|
||
"red": {
|
||
"prefix": "red",
|
||
"body": "<font color='red' size=4><b>$1</b></font>",
|
||
"description": "红色"
|
||
},
|
||
"green": {
|
||
"prefix": "green",
|
||
"body": "<font color='green' size=4><b>$1</b></font>",
|
||
"description": "绿色"
|
||
},
|
||
"blue": {
|
||
"prefix": "blue",
|
||
"body": "<font color='blue' size=4><b>$1</b></font>",
|
||
"description": "蓝色"
|
||
},
|
||
"black": {
|
||
"prefix": "black",
|
||
"body": "<font color='black' size=4><b>$1</b></font>",
|
||
"description": "黑色"
|
||
},
|
||
"large": {
|
||
"prefix": "large",
|
||
"body": "$$\\large $1 $$",
|
||
"description": "居中大公式"
|
||
},
|
||
"right1": {
|
||
"prefix": "right1",
|
||
"body": "\\rightarrow ",
|
||
"description": "向右的箭头"
|
||
},
|
||
"right2": {
|
||
"prefix": "right2",
|
||
"body": "\\Rightarrow ",
|
||
"description": "向右的箭头"
|
||
},
|
||
"left1": {
|
||
"prefix": "left1",
|
||
"body": "\\leftarrow ",
|
||
"description": "向左的箭头"
|
||
},
|
||
"left2": {
|
||
"prefix": "left2",
|
||
"body": "\\Leftarrow ",
|
||
"description": "向左的箭头"
|
||
},
|
||
"leftright": {
|
||
"prefix": "dj",
|
||
"body": "\\Leftrightarrow ",
|
||
"description": "等价的箭头"
|
||
},
|
||
"modp": {
|
||
"prefix": "modp",
|
||
"body": "(mod \\ \\ p )",
|
||
"description": "模p"
|
||
},
|
||
"modc": {
|
||
"prefix": "modc",
|
||
"body": "(mod \\ \\ c )",
|
||
"description": "模c"
|
||
},
|
||
"equiv": {
|
||
"prefix": "ty",
|
||
"body": "\\equiv",
|
||
"description": "同余"
|
||
},
|
||
"approx": {
|
||
"prefix": "yd",
|
||
"body": "\\approx",
|
||
"description": "约等"
|
||
},
|
||
"n1": {
|
||
"prefix": "n1",
|
||
"body": "①",
|
||
"description": "数字1"
|
||
},
|
||
"n2": {
|
||
"prefix": "n2",
|
||
"body": "②",
|
||
"description": "数字2"
|
||
},
|
||
"n3": {
|
||
"prefix": "n3",
|
||
"body": "③",
|
||
"description": "数字3"
|
||
},
|
||
"n4": {
|
||
"prefix": "n4",
|
||
"body": "④",
|
||
"description": "数字4"
|
||
},
|
||
"n5": {
|
||
"prefix": "n5",
|
||
"body": "⑤",
|
||
"description": "数字5"
|
||
},
|
||
"n6": {
|
||
"prefix": "n6",
|
||
"body": "⑥",
|
||
"description": "数字6"
|
||
},
|
||
"n7": {
|
||
"prefix": "n7",
|
||
"body": "⑦",
|
||
"description": "数字7"
|
||
},
|
||
"n8": {
|
||
"prefix": "n8",
|
||
"body": "⑧",
|
||
"description": "数字8"
|
||
},
|
||
"n9": {
|
||
"prefix": "n9",
|
||
"body": "⑨",
|
||
"description": "数字9"
|
||
},
|
||
"n10": {
|
||
"prefix": "n10",
|
||
"body": "⑩",
|
||
"description": "数字10"
|
||
},
|
||
"所有小圆圈序号": {
|
||
"prefix": "xh",
|
||
"body": "①②③④⑤⑥⑦⑧⑨⑩",
|
||
"description": "所有小圆圈序号"
|
||
},
|
||
"xqz": {
|
||
"prefix": "xqz",
|
||
"body": "⌊$1⌋",
|
||
"description": "下取整"
|
||
},
|
||
"sqz": {
|
||
"prefix": "sqz",
|
||
"body": " ⌈$1⌉",
|
||
"description": "上取整"
|
||
},
|
||
"大扩号": {
|
||
"prefix": "dkh",
|
||
"body": [
|
||
"$$",
|
||
"\\large \\left\\{\\begin{matrix}",
|
||
" & \\\\\\\\ ",
|
||
" & ",
|
||
"\\end{matrix}\\right.",
|
||
"$$"
|
||
]
|
||
},
|
||
"小于等于": {
|
||
"prefix": "xd",
|
||
"body": "\\leq",
|
||
"description": "小于等于"
|
||
},
|
||
"大于等于": {
|
||
"prefix": "dd",
|
||
"body": "\\geq",
|
||
"description": "大于等于"
|
||
},
|
||
"括号": {
|
||
"prefix": "kh",
|
||
"body": "\\left \\{ \\left. \\right \\\\} \\right.",
|
||
"description": "括号"
|
||
},
|
||
"μ": {
|
||
"prefix": "miu",
|
||
"body": "\\mu",
|
||
"description": "希腊字母μ"
|
||
},
|
||
"异或符号": {
|
||
"prefix": "yh",
|
||
"body": "∧",
|
||
"description": "异或符号"
|
||
},
|
||
"不等": {
|
||
"prefix": "bd",
|
||
"body": "≠",
|
||
"description": "不等"
|
||
},
|
||
"全角空格": {
|
||
"prefix": "kg",
|
||
"body": " ",
|
||
"description": "全角空格"
|
||
},
|
||
"画表格2列": {
|
||
"prefix": "bg2",
|
||
"body": [
|
||
"| 表头 | 表头 |",
|
||
"| ---- | ---- |",
|
||
"| 单元格 | 单元格 |",
|
||
"| 单元格 | 单元格 |"
|
||
]
|
||
},
|
||
"画表格3列": {
|
||
"prefix": "bg3",
|
||
"body": [
|
||
"| 表头 | 表头 | 表头 |",
|
||
"| ---- | ---- |---- |",
|
||
"| 单元格 | 单元格 | 单元格 |",
|
||
"| 单元格 | 单元格 | 单元格 |"
|
||
]
|
||
},
|
||
"画表格4列": {
|
||
"prefix": "bg4",
|
||
"body": [
|
||
"| 表头 | 表头 | 表头 | 表头 |",
|
||
"| ---- | ---- | ---- | ---- |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 |"
|
||
]
|
||
},
|
||
"画表格5列": {
|
||
"prefix": "bg5",
|
||
"body": [
|
||
"| 表头 | 表头 | 表头 | 表头 | 表头 |",
|
||
"| ---- | ---- |---- | ---- | ---- |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 | 单元格 |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 | 单元格 |"
|
||
]
|
||
},
|
||
"画表格6列": {
|
||
"prefix": "bg6",
|
||
"body": [
|
||
"| 表头 | 表头 | 表头 | 表头 | 表头 | 表头 |",
|
||
"| ---- | ---- |---- | ---- | ---- | ---- |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 | 单元格 | 单元格 |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 | 单元格 | 单元格 |"
|
||
]
|
||
},
|
||
"画表格7列": {
|
||
"prefix": "bg7",
|
||
"body": [
|
||
"| 表头 | 表头 | 表头 | 表头 | 表头 | 表头 | 表头 |",
|
||
"| ---- | ---- |---- | ---- | ---- | ---- | ---- |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 | 单元格 | 单元格 | 单元格 |",
|
||
"| 单元格 | 单元格 | 单元格 | 单元格 | 单元格 | 单元格 | 单元格 |"
|
||
]
|
||
},
|
||
"表格居中的样式": {
|
||
"prefix": "bgcenter",
|
||
"body": [
|
||
"<!-- 让表格居中显示的风格 -->",
|
||
"<style>",
|
||
".center ",
|
||
"{",
|
||
" width: auto;",
|
||
" display: table;",
|
||
" margin-left: auto;",
|
||
" margin-right: auto;",
|
||
"}",
|
||
"</style>",
|
||
"<div class=\"center\">",
|
||
"</div>"
|
||
]
|
||
},
|
||
"举个栗子1": {
|
||
"prefix": "jglz",
|
||
"body": [
|
||
"<img src='https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg2020.cnblogs.com%2Fblog%2F1953563%2F202003%2F1953563-20200307185649603-141699051.png&refer=http%3A%2F%2Fimg2020.cnblogs.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666769351&t=8d4a9950997ff97d53497c6c7c8392fa' width='20%'>"
|
||
]
|
||
},
|
||
"Markdown插入图片": {
|
||
"prefix": "tu",
|
||
"body": [
|
||
""
|
||
],
|
||
"description": "Markdown插入图片"
|
||
},
|
||
"对号": {
|
||
"prefix": "dh",
|
||
"body": [
|
||
"$✔$"
|
||
]
|
||
},
|
||
"错号": {
|
||
"prefix": "ch",
|
||
"body": [
|
||
"$✘$"
|
||
]
|
||
},
|
||
"三角形": {
|
||
"prefix": "sjx",
|
||
"body": [
|
||
"$\\triangle $1 $"
|
||
]
|
||
},
|
||
"角": {
|
||
"prefix": "jiao",
|
||
"body": [
|
||
"$\\angle $1 $"
|
||
]
|
||
},
|
||
"垂直": {
|
||
"prefix": "cz",
|
||
"body": [
|
||
"$\\perp $1 $"
|
||
]
|
||
},
|
||
"因为": {
|
||
"prefix": "yw",
|
||
"body": [
|
||
"$\\because$"
|
||
]
|
||
},
|
||
"所以": {
|
||
"prefix": "sy",
|
||
"body": [
|
||
"$\\therefore$"
|
||
]
|
||
},
|
||
"角度": {
|
||
"prefix": "jd",
|
||
"body": [
|
||
"$$1^ \\circ$"
|
||
]
|
||
},
|
||
"全等": {
|
||
"prefix": "qd",
|
||
"body": [
|
||
"$\\cong $"
|
||
]
|
||
},
|
||
"相似": {
|
||
"prefix": "xs",
|
||
"body": [
|
||
"$\\sim $"
|
||
]
|
||
},
|
||
"正方形": {
|
||
"prefix": "zf",
|
||
"body": [
|
||
"$\\Box $1 $"
|
||
]
|
||
},
|
||
"一星": {
|
||
"prefix": "xing1",
|
||
"body": [
|
||
"★"
|
||
]
|
||
},
|
||
"二星": {
|
||
"prefix": "xing2",
|
||
"body": [
|
||
"★★"
|
||
]
|
||
},
|
||
"三星": {
|
||
"prefix": "xing3",
|
||
"body": [
|
||
"★★★"
|
||
]
|
||
},
|
||
"四星": {
|
||
"prefix": "xing4",
|
||
"body": [
|
||
"★★★★"
|
||
]
|
||
},
|
||
"五星": {
|
||
"prefix": "xing5",
|
||
"body": [
|
||
"★★★★★"
|
||
]
|
||
},
|
||
"Print to line number code": {
|
||
"prefix": "cpp",
|
||
"body": [
|
||
"```cpp {.line-numbers}",
|
||
"$2",
|
||
"```"
|
||
],
|
||
"description": "得到一个带语法高亮和行号的代码块模板"
|
||
},
|
||
"hu": {
|
||
"prefix": "hu",
|
||
"body": [
|
||
"$\\overset{{\\frown}}{}$"
|
||
]
|
||
},
|
||
"矩阵": {
|
||
"prefix": "jz",
|
||
"body": [
|
||
"$\\begin{bmatrix}",
|
||
"& \\\\\\ ",
|
||
"& ",
|
||
"\\end{bmatrix}$"
|
||
]
|
||
},
|
||
"最大值带下面的范围": {
|
||
"prefix": "mx",
|
||
"body": [
|
||
"$\\displaystyle \\max_{\\substack{v \\in son[u]}}$"
|
||
]
|
||
}
|
||
} |