From e843fe12cbaccc08f6559d0975457c6164645629 Mon Sep 17 00:00:00 2001 From: Mark Baas Date: Tue, 9 Feb 2021 15:20:28 +0100 Subject: [PATCH] disable other output formats --- src/extension/notebook.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/extension/notebook.ts b/src/extension/notebook.ts index 349c373bc..254df0891 100644 --- a/src/extension/notebook.ts +++ b/src/extension/notebook.ts @@ -354,9 +354,10 @@ export class RNotebookProvider implements vscode.NotebookContentProvider, vscode return { outputKind: vscode.CellOutputKind.Rich, data: { - 'ms-vscode.r-notebook/table': response.result.data, - 'text/markdown': response.result.markdown, - 'application/json': response.result.data, + 'ms-vscode.r-notebook/table': response.result.data + // TODO: make the html table default, no clue how to do this. + // 'text/markdown': response.result.markdown, + // 'application/json': response.result.data, }, } }