mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Add extended markdown notebook renderer sample
This demonstrates how one notebook renderer can extend another one
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @typedef {Object} Sample
|
||||
* @property {string} description - A readable name for the sample
|
||||
* @property {string} path - Path to the sample's root
|
||||
* @property {string | null} guide - Link to the guide on https://code.visualstudio.com
|
||||
* @property {string | null} guide - Link to the guide on
|
||||
* @property {string[]} apis - Listing of VS Code API that is being illustrated. For example, "TextDocumentContentProvider"
|
||||
* @property {string[]} contributions - Listing of Contribution Points that are being used. For example,
|
||||
* @property {boolean} [excludeFromReadme] - Don't generate a readme entry for this extension
|
||||
@ -246,6 +246,20 @@ const samples = [
|
||||
apis: [],
|
||||
contributions: []
|
||||
},
|
||||
{
|
||||
description: 'notebook-renderer-sample',
|
||||
path: 'notebook-renderer-sample',
|
||||
guide: "/api/extension-guides/notebook#notebook-renderer",
|
||||
apis: [],
|
||||
contributions: ["notebookRenderer"]
|
||||
},
|
||||
{
|
||||
description: 'notebook-extend-markdown-renderer-sample',
|
||||
path: 'notebook-extend-markdown-renderer-sample',
|
||||
guide: "/api/extension-guides/notebook#notebook-renderer",
|
||||
apis: [],
|
||||
contributions: ["notebookRenderer"]
|
||||
},
|
||||
{ description: 'configuration-sample', excludeFromReadme: true, path: 'configuration-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'contentprovider-sample', excludeFromReadme: true, path: 'contentprovider-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'nodefs-provider-sample', excludeFromReadme: true, path: 'nodefs-provider-sample', guide: null, apis: [], contributions: [] },
|
||||
@ -258,7 +272,6 @@ const samples = [
|
||||
{ description: 'helloworld-test-sample', excludeFromReadme: true, path: 'helloworld-test-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'helloworld-web-sample', excludeFromReadme: true, path: 'helloworld-web-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'inline-completions', excludeFromReadme: true, path: 'inline-completions', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'notebook-renderer-sample', excludeFromReadme: true, path: 'notebook-renderer-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'notebook-renderer-react-sample', excludeFromReadme: true, path: 'notebook-renderer-react-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'proposed-api-sample', excludeFromReadme: true, path: 'proposed-api-sample', guide: null, apis: [], contributions: [] },
|
||||
{ description: 'virtual-document-sample', excludeFromReadme: true, path: 'virtual-document-sample', guide: null, apis: [], contributions: [] },
|
||||
|
||||
Reference in New Issue
Block a user