Pass in explicit language mode when converting cell to markdown
Fixes #126069
This commit is contained in:
parent
5b639e8b22
commit
3c1fa1b286
|
@ -925,7 +925,7 @@ registerAction2(class ChangeCellToMarkdownAction extends NotebookCellAction {
|
|||
}
|
||||
|
||||
async runWithContext(accessor: ServicesAccessor, context: INotebookCellActionContext): Promise<void> {
|
||||
await changeCellToKind(CellKind.Markup, context);
|
||||
await changeCellToKind(CellKind.Markup, context, 'markdown');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue