diff --git a/jupyterlab/packages/jupyterlab-jupytext-extension/schema/plugin.json b/jupyterlab/packages/jupyterlab-jupytext-extension/schema/plugin.json index 2dcfc2b60..1923667b8 100644 --- a/jupyterlab/packages/jupyterlab-jupytext-extension/schema/plugin.json +++ b/jupyterlab/packages/jupyterlab-jupytext-extension/schema/plugin.json @@ -32,7 +32,7 @@ "label": "New Text Notebook", "items": [ { - "command": "jupytext:create-new-text-noteboook-auto:percent", + "command": "jupytext:create-new-text-notebook-auto:percent", "rank": 1 }, { @@ -40,15 +40,15 @@ "rank": 2 }, { - "command": "jupytext:create-new-text-noteboook-auto:light", + "command": "jupytext:create-new-text-notebook-auto:light", "rank": 5 }, { - "command": "jupytext:create-new-text-noteboook-auto:hydrogen", + "command": "jupytext:create-new-text-notebook-auto:hydrogen", "rank": 10 }, { - "command": "jupytext:create-new-text-noteboook-auto:nomarker", + "command": "jupytext:create-new-text-notebook-auto:nomarker", "rank": 15 }, { @@ -56,11 +56,11 @@ "rank": 16 }, { - "command": "jupytext:create-new-text-noteboook-md", + "command": "jupytext:create-new-text-notebook-md", "rank": 20 }, { - "command": "jupytext:create-new-text-noteboook-md:myst", + "command": "jupytext:create-new-text-notebook-md:myst", "rank": 25 }, { @@ -68,11 +68,11 @@ "rank": 26 }, { - "command": "jupytext:create-new-text-noteboook-Rmd", + "command": "jupytext:create-new-text-notebook-Rmd", "rank": 30 }, { - "command": "jupytext:create-new-text-noteboook-qmd", + "command": "jupytext:create-new-text-notebook-qmd", "rank": 35 } ] @@ -82,7 +82,7 @@ { "type": "submenu", "submenu": { - "id": "jp-mainmenu-jupytext-new", + "id": "jp-mainmenu-jupytext-pair", "label": "Pair Notebook", "items": [ { diff --git a/jupyterlab/packages/jupyterlab-jupytext-extension/src/index.ts b/jupyterlab/packages/jupyterlab-jupytext-extension/src/index.ts index a700e7ed4..d887cdaf9 100644 --- a/jupyterlab/packages/jupyterlab-jupytext-extension/src/index.ts +++ b/jupyterlab/packages/jupyterlab-jupytext-extension/src/index.ts @@ -328,7 +328,7 @@ const extension: JupyterFrontEndPlugin = { // https://github.com/jupyterlab/jupyterlab/blob/c106f0a19110efad7c5e1b136144985819e21100/packages/notebook-extension/src/index.ts#L1902-L1965 jupytextTextNotebookFormats.forEach( (jupytextFormat: IJupytextFormat, rank: number) => { - const command = `jupytext:create-new-text-noteboook-${jupytextFormat.format}`; + const command = `jupytext:create-new-text-notebook-${jupytextFormat.format}`; const label = trans.__(jupytextFormat.label.split('with')[1].trim()); console.log('Registering text notebook command=', command); commands.addCommand(command, {