json格式重写markdown的snippets

This commit is contained in:
captain 2025-10-12 15:15:57 +08:00
parent ac8660dc57
commit 3ffbb0e867
2 changed files with 52 additions and 0 deletions

47
snippets/markdown.json Normal file
View file

@ -0,0 +1,47 @@
{
"t2": {
"prefix": "t2",
"body": [
"| ${2:<++>} | <++> |",
"|-|-|",
"| <++> | <++> |${1}"
],
"description": "Snippet t2"
},
"t3": {
"prefix": "t3",
"body": [
"| ${2:<++>} | <++> | <++> |",
"|-|-|-|",
"| <++> | <++> | <++> |${1}"
],
"description": "Snippet t3"
},
"t4": {
"prefix": "t4",
"body": [
"| ${2:<++>} | <++> | <++> | <++> |",
"|-|-|-|-|",
"| <++> | <++> | <++> | <++> |${1}"
],
"description": "Snippet t4"
},
"t5": {
"prefix": "t5",
"body": [
"| ${2:<++>} | <++> | <++> | <++> | <++> |",
"|-|-|-|-|-|",
"| <++> | <++> | <++> | <++> | <++> |${1}"
],
"description": "Snippet t5"
},
"t6": {
"prefix": "t6",
"body": [
"| ${2:<++>} | <++> | <++> | <++> | <++> | <++> |",
"|-|-|-|-|-|-|",
"| <++> | <++> | <++> | <++> | <++> | <++> |${1}"
],
"description": "Snippet t6"
}
}

View file

@ -18,3 +18,8 @@ snippet t5
| ${2:<++>} | <++> | <++> | <++> | <++> |
|-|-|-|-|-|
| <++> | <++> | <++> | <++> | <++> |${1}
snippet t6
| ${2:<++>} | <++> | <++> | <++> | <++> | <++> |
|-|-|-|-|-|-|
| <++> | <++> | <++> | <++> | <++> | <++> |${1}