提交 26c0e9bb 编写于 作者: M Matt Bierner

Take selected text into account for more markdown snippets

Fixes #61914
上级 14765402
......@@ -23,14 +23,14 @@
"prefix": "fenced codeblock",
"body": [
"```${1:language}",
"$0",
"${TM_SELECTED_TEXT}$0",
"```"
],
"description": "Insert fenced code block"
},
"Insert heading": {
"prefix": "heading",
"body": "# ${1:text}",
"body": "# ${1:${TM_SELECTED_TEXT}}",
"description": "Insert heading"
},
"Insert unordered list": {
......@@ -60,12 +60,12 @@
},
"Insert link": {
"prefix": "link",
"body": "[${1:text}](https://${2:link})$0",
"body": "[${TM_SELECTED_TEXT:${1:text}}](https://${2:link})$0",
"description": "Insert link"
},
"Insert image": {
"prefix": "image",
"body": "![${1:alt}](https://${2:link})$0",
"body": "![${TM_SELECTED_TEXT:${1:alt}}](https://${2:link})$0",
"description": "Insert image"
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册