mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Make markdown link pasting feature smarter (#187170)
* making markdown link pasting feature smarter * Update settings description Co-authored-by: Joyce Er <joyceerhl@gmail.com> * made checkPaste more concise * won't paste md link in fenced code or math --------- Co-authored-by: Joyce Er <joyceerhl@gmail.com>
This commit is contained in:
@@ -499,10 +499,20 @@
|
||||
]
|
||||
},
|
||||
"markdown.editor.pasteUrlAsFormattedLink.enabled": {
|
||||
"type": "boolean",
|
||||
"type": "string",
|
||||
"scope": "resource",
|
||||
"markdownDescription": "%configuration.markdown.editor.pasteUrlAsFormattedLink.enabled%",
|
||||
"default": true
|
||||
"default":"smart",
|
||||
"enum": [
|
||||
"always",
|
||||
"smart",
|
||||
"never"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%configuration.pasteUrlAsFormattedLink.always%",
|
||||
"%configuration.pasteUrlAsFormattedLink.smart%",
|
||||
"%configuration.pasteUrlAsFormattedLink.never%"
|
||||
]
|
||||
},
|
||||
"markdown.validate.enabled": {
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user