activate on mdx files

This commit is contained in:
Ruben van de Ven 2022-11-11 12:08:12 +01:00
parent ee8a1cc681
commit 154afcc5ab

View file

@ -19,6 +19,7 @@
], ],
"activationEvents": [ "activationEvents": [
"onLanguage:markdown", "onLanguage:markdown",
"onLanguage:mdx",
"onCommand:zoterolens.showInZotero", "onCommand:zoterolens.showInZotero",
"onCommand:zoterolens.openZoteroPDF" "onCommand:zoterolens.openZoteroPDF"
], ],
@ -38,11 +39,11 @@
"commandPalette": [ "commandPalette": [
{ {
"command": "zoterolens.showInZotero", "command": "zoterolens.showInZotero",
"when": "editorLangId == markdown" "when": "editorLangId == markdown || editorLangId == mdx"
}, },
{ {
"command": "zoterolens.openZoteroPDF", "command": "zoterolens.openZoteroPDF",
"when": "editorLangId == markdown" "when": "editorLangId == markdown || editorLangId == mdx"
} }
] ]
}, },