Improve UX for markdown snippets (#146431)

Allow to directly paste a link markdown when using the `link` and `image` snippets
This commit is contained in:
Johann Pardanaud 2022-03-31 18:44:24 +02:00 committed by GitHub
parent f29671557b
commit 6a6df96d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,12 +71,12 @@
},
"Insert link": {
"prefix": "link",
"body": "[${TM_SELECTED_TEXT:${1:text}}](https://${2:link})$0",
"body": "[${TM_SELECTED_TEXT:${1:text}}](${2:https://})$0",
"description": "Insert link"
},
"Insert image": {
"prefix": "image",
"body": "![${TM_SELECTED_TEXT:${1:alt}}](https://${2:link})$0",
"body": "![${TM_SELECTED_TEXT:${1:alt}}](${2:https://})$0",
"description": "Insert image"
},
"Insert strikethrough": {