Revert "Better notebook markup renderer api (#121882)"

This reverts commit 4cb27d2ec7.
This commit is contained in:
Matt Bierner
2021-04-26 19:43:16 -07:00
parent 4a0a1f2f6f
commit fe7c5aba01
21 changed files with 199 additions and 296 deletions

View File

@@ -18,25 +18,23 @@
"virtualWorkspaces": false
},
"contributes": {
"notebookMarkupRenderers": [
"notebookMarkdownRenderer": [
{
"id": "markdownItRenderer-katex",
"displayName": "Markdown it katex renderer",
"entrypoint": "./notebook-out/katex.js",
"dependsOn": "markdownItRenderer"
"entrypoint": "./notebook-out/katex.js"
},
{
"id": "markdownItRenderer-emoji",
"displayName": "Markdown it emoji renderer",
"entrypoint": "./notebook-out/emoji.js",
"dependsOn": "markdownItRenderer"
"entrypoint": "./notebook-out/emoji.js"
}
]
},
"scripts": {
"compile": "npm run build-notebook",
"watch": "npm run build-notebook",
"build-notebook": "node ./esbuild"
"build-notebook": "npx webpack-cli --config webpack.notebook.js --mode production"
},
"devDependencies": {
"@iktakahiro/markdown-it-katex": "https://github.com/mjbvz/markdown-it-katex.git",