activate on mdx files
This commit is contained in:
parent
ee8a1cc681
commit
154afcc5ab
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue