Skip to content

Commit 6a6df96

Browse files
authored
Improve UX for markdown snippets (microsoft#146431)
Allow to directly paste a link markdown when using the `link` and `image` snippets
1 parent f296715 commit 6a6df96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/markdown-basics/snippets/markdown.code-snippets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
},
7272
"Insert link": {
7373
"prefix": "link",
74-
"body": "[${TM_SELECTED_TEXT:${1:text}}](https://${2:link})$0",
74+
"body": "[${TM_SELECTED_TEXT:${1:text}}](${2:https://})$0",
7575
"description": "Insert link"
7676
},
7777
"Insert image": {
7878
"prefix": "image",
79-
"body": "![${TM_SELECTED_TEXT:${1:alt}}](https://${2:link})$0",
79+
"body": "![${TM_SELECTED_TEXT:${1:alt}}](${2:https://})$0",
8080
"description": "Insert image"
8181
},
8282
"Insert strikethrough": {

0 commit comments

Comments
 (0)