mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
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:
parent
f29671557b
commit
6a6df96d5e
|
@ -71,12 +71,12 @@
|
||||||
},
|
},
|
||||||
"Insert link": {
|
"Insert link": {
|
||||||
"prefix": "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"
|
"description": "Insert link"
|
||||||
},
|
},
|
||||||
"Insert image": {
|
"Insert image": {
|
||||||
"prefix": "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"
|
"description": "Insert image"
|
||||||
},
|
},
|
||||||
"Insert strikethrough": {
|
"Insert strikethrough": {
|
||||||
|
|
Loading…
Reference in a new issue