Skip to content

Commit

Permalink
feat: support MDX
Browse files Browse the repository at this point in the history
close #62
  • Loading branch information
gera2ld committed Jan 8, 2025
1 parent 758cabe commit 15ee173
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,28 @@
"menus": {
"commandPalette": [
{
"when": "editorLangId == markdown",
"when": "editorLangId == markdown || editorLangId == mdx",
"command": "markmap-vscode.open"
},
{
"when": "editorLangId == markdown",
"when": "editorLangId == markdown || editorLangId == mdx",
"command": "markmap-vscode.toggle"
},
{
"when": "editorLangId == markdown",
"when": "editorLangId == markdown || editorLangId == mdx",
"command": "markmap-vscode.toggle-recursively"
}
],
"explorer/context": [
{
"when": "resourceLangId == markdown",
"when": "resourceLangId == markdown || resourceLangId == mdx",
"command": "markmap-vscode.open",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == markdown && activeEditor == workbench.editors.files.textFileEditor",
"when": "activeEditor == workbench.editors.files.textFileEditor && (resourceLangId == markdown || resourceLangId == mdx)",
"command": "markmap-vscode.open",
"group": "navigation"
}
Expand Down

0 comments on commit 15ee173

Please sign in to comment.