mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
Use code-snippet suffix for extension snippets. Fixes #94625
This commit is contained in:
71
extensions/markdown-basics/snippets/markdown.code-snippets
Normal file
71
extensions/markdown-basics/snippets/markdown.code-snippets
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"Insert bold text": {
|
||||
"prefix": "bold",
|
||||
"body": "**${1:${TM_SELECTED_TEXT}}**$0",
|
||||
"description": "Insert bold text"
|
||||
},
|
||||
"Insert italic text": {
|
||||
"prefix": "italic",
|
||||
"body": "*${1:${TM_SELECTED_TEXT}}*$0",
|
||||
"description": "Insert italic text"
|
||||
},
|
||||
"Insert quoted text": {
|
||||
"prefix": "quote",
|
||||
"body": "> ${1:${TM_SELECTED_TEXT}}",
|
||||
"description": "Insert quoted text"
|
||||
},
|
||||
"Insert code": {
|
||||
"prefix": "code",
|
||||
"body": "`${1:${TM_SELECTED_TEXT}}`$0",
|
||||
"description": "Insert code"
|
||||
},
|
||||
"Insert fenced code block": {
|
||||
"prefix": "fenced codeblock",
|
||||
"body": [
|
||||
"```${1:language}",
|
||||
"${TM_SELECTED_TEXT}$0",
|
||||
"```"
|
||||
],
|
||||
"description": "Insert fenced code block"
|
||||
},
|
||||
"Insert heading": {
|
||||
"prefix": "heading",
|
||||
"body": "# ${1:${TM_SELECTED_TEXT}}",
|
||||
"description": "Insert heading"
|
||||
},
|
||||
"Insert unordered list": {
|
||||
"prefix": "unordered list",
|
||||
"body": [
|
||||
"- ${1:first}",
|
||||
"- ${2:second}",
|
||||
"- ${3:third}",
|
||||
"$0"
|
||||
],
|
||||
"description": "Insert unordered list"
|
||||
},
|
||||
"Insert ordered list": {
|
||||
"prefix": "ordered list",
|
||||
"body": [
|
||||
"1. ${1:first}",
|
||||
"2. ${2:second}",
|
||||
"3. ${3:third}",
|
||||
"$0"
|
||||
],
|
||||
"description": "Insert ordered list"
|
||||
},
|
||||
"Insert horizontal rule": {
|
||||
"prefix": "horizontal rule",
|
||||
"body": "----------\n",
|
||||
"description": "Insert horizontal rule"
|
||||
},
|
||||
"Insert link": {
|
||||
"prefix": "link",
|
||||
"body": "[${TM_SELECTED_TEXT:${1:text}}](https://${2:link})$0",
|
||||
"description": "Insert link"
|
||||
},
|
||||
"Insert image": {
|
||||
"prefix": "image",
|
||||
"body": "$0",
|
||||
"description": "Insert image"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user