Skip to content

Commit

Permalink
rename notebook into noteboook
Browse files Browse the repository at this point in the history
  • Loading branch information
parmentelat committed Nov 22, 2023
1 parent 684cc37 commit abc12ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,47 +32,47 @@
"label": "New Text Notebook",
"items": [
{
"command": "jupytext:create-new-text-noteboook-auto:percent",
"command": "jupytext:create-new-text-notebook-auto:percent",
"rank": 1
},
{
"type": "separator",
"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
},
{
"type": "separator",
"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
},
{
"type": "separator",
"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
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ const extension: JupyterFrontEndPlugin<void> = {
// 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, {
Expand Down

0 comments on commit abc12ad

Please sign in to comment.