Add workspace trust for markdown extension

This commit is contained in:
Matt Bierner 2021-04-14 20:33:20 -07:00
parent be2026c324
commit 293061802c
No known key found for this signature in database
GPG key ID: 099C331567E11888
2 changed files with 9 additions and 1 deletions

View file

@ -29,6 +29,13 @@
"onWebviewPanel:markdown.preview",
"onCustomEditor:vscode.markdown.preview.editor"
],
"workspaceTrust": {
"request": "onDemand",
"description": "%workspaceTrust%",
"requiredForConfigurations": [
"markdown.styles"
]
},
"contributes": {
"notebookMarkdownRenderer": [
{

View file

@ -25,5 +25,6 @@
"configuration.markdown.preview.openMarkdownLinks.inPreview": "Try to open links in the Markdown preview.",
"configuration.markdown.links.openLocation.description": "Controls where links in Markdown files should be opened.",
"configuration.markdown.links.openLocation.currentGroup": "Open links in the active editor group.",
"configuration.markdown.links.openLocation.beside": "Open links beside the active editor."
"configuration.markdown.links.openLocation.beside": "Open links beside the active editor.",
"workspaceTrust": "Required for loading styles configured in the workspace."
}