Skip to content

Commit

Permalink
Update some Markdown Snippets to Surround Selected Text
Browse files Browse the repository at this point in the history
Fixes #1307

Updates a few markdown snippets, such as bold or italic, to surround the selected text instead or replacing it entirely
  • Loading branch information
mjbvz committed Apr 7, 2017
1 parent 97a77a0 commit 8fbad6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions/markdown/snippets/markdown.json
@@ -1,22 +1,22 @@
{
"Insert bold text": {
"prefix": "bold",
"body": "**${1:text}**${}",
"body": "**${1:${TM_SELECTED_TEXT}}**$0",
"description": "Insert bold text"
},
"Insert italic text": {
"prefix": "italic",
"body": "*${1:text}*${}",
"body": "*${1:${TM_SELECTED_TEXT}}*$0",
"description": "Insert italic text"
},
"Insert quoted text": {
"prefix": "quote",
"body": "> ${1:text}",
"body": "> ${1:${TM_SELECTED_TEXT}}",
"description": "Insert quoted text"
},
"Insert code": {
"prefix": "code",
"body": "`${1:text}`${}",
"body": "`${1:${TM_SELECTED_TEXT}}`$0",
"description": "Insert code"
},
"Insert fenced code block": {
Expand Down

0 comments on commit 8fbad6e

Please sign in to comment.