mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
API 💄 for NotebookCellData
This commit is contained in:
@@ -26,15 +26,15 @@ export function activate(context: vscode.ExtensionContext): any {
|
||||
metadata: new vscode.NotebookDocumentMetadata(),
|
||||
cells: [
|
||||
{
|
||||
source: 'code()',
|
||||
language: 'typescript',
|
||||
value: 'code()',
|
||||
languageId: 'typescript',
|
||||
kind: vscode.NotebookCellKind.Code,
|
||||
outputs: [],
|
||||
metadata: new vscode.NotebookCellMetadata().with({ custom: { testCellMetadata: 123 } })
|
||||
},
|
||||
{
|
||||
source: 'Markdown Cell',
|
||||
language: 'markdown',
|
||||
value: 'Markdown Cell',
|
||||
languageId: 'markdown',
|
||||
kind: vscode.NotebookCellKind.Markup,
|
||||
outputs: [],
|
||||
metadata: new vscode.NotebookCellMetadata().with({ custom: { testCellMetadata: 123 } })
|
||||
|
||||
Reference in New Issue
Block a user