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:
Matt Bierner 2017-04-06 18:17:39 -07:00
parent 97a77a0eb3
commit 8fbad6ed40

View file

@ -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": {