mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
Update some Markdown Snippets to Surround Selected Text
Fixes #1307 Updates a few markdown snippets, such as bold or italic, to surround the selected text instead or replacing it entirely
This commit is contained in:
parent
97a77a0eb3
commit
8fbad6ed40
|
@ -1,22 +1,22 @@
|
||||||
{
|
{
|
||||||
"Insert bold text": {
|
"Insert bold text": {
|
||||||
"prefix": "bold",
|
"prefix": "bold",
|
||||||
"body": "**${1:text}**${}",
|
"body": "**${1:${TM_SELECTED_TEXT}}**$0",
|
||||||
"description": "Insert bold text"
|
"description": "Insert bold text"
|
||||||
},
|
},
|
||||||
"Insert italic text": {
|
"Insert italic text": {
|
||||||
"prefix": "italic",
|
"prefix": "italic",
|
||||||
"body": "*${1:text}*${}",
|
"body": "*${1:${TM_SELECTED_TEXT}}*$0",
|
||||||
"description": "Insert italic text"
|
"description": "Insert italic text"
|
||||||
},
|
},
|
||||||
"Insert quoted text": {
|
"Insert quoted text": {
|
||||||
"prefix": "quote",
|
"prefix": "quote",
|
||||||
"body": "> ${1:text}",
|
"body": "> ${1:${TM_SELECTED_TEXT}}",
|
||||||
"description": "Insert quoted text"
|
"description": "Insert quoted text"
|
||||||
},
|
},
|
||||||
"Insert code": {
|
"Insert code": {
|
||||||
"prefix": "code",
|
"prefix": "code",
|
||||||
"body": "`${1:text}`${}",
|
"body": "`${1:${TM_SELECTED_TEXT}}`$0",
|
||||||
"description": "Insert code"
|
"description": "Insert code"
|
||||||
},
|
},
|
||||||
"Insert fenced code block": {
|
"Insert fenced code block": {
|
||||||
|
|
Loading…
Reference in a new issue