Skip to content

Commit

Permalink
hasCustomMarkdownPreview disables markdown preview buttons in context…
Browse files Browse the repository at this point in the history
… menus (#139241)
  • Loading branch information
Kaan Genç authored Dec 15, 2021
1 parent 816490e commit ab2b080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/markdown-language-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@
"explorer/context": [
{
"command": "markdown.showPreview",
"when": "resourceLangId == markdown",
"when": "resourceLangId == markdown && !hasCustomMarkdownPreview",
"group": "navigation"
}
],
"editor/title/context": [
{
"command": "markdown.showPreview",
"when": "resourceLangId == markdown",
"when": "resourceLangId == markdown && !hasCustomMarkdownPreview",
"group": "1_open"
}
],
Expand Down

0 comments on commit ab2b080

Please sign in to comment.