Skip to content

Commit

Permalink
disable other output formats
Browse files Browse the repository at this point in the history
  • Loading branch information
markbaas committed Feb 9, 2021
1 parent 3b3b3e9 commit e843fe1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/extension/notebook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
}
Expand Down

0 comments on commit e843fe1

Please sign in to comment.