Add source map for every possible element in the Markdown preview (#134799)

* Update markdown-it and type definitions

* Refresh the source map mechanism in `markdownEngine.ts`
This commit is contained in:
Lemmingh
2021-10-13 07:25:56 +08:00
committed by GitHub
parent d8f67118b4
commit d3ceb35bec
7 changed files with 128 additions and 106 deletions

View File

@@ -352,18 +352,17 @@
"watch-web": "npx webpack-cli --config extension-browser.webpack.config --mode none --watch --info-verbosity verbose"
},
"dependencies": {
"dompurify": "^2.3.1",
"dompurify": "^2.3.3",
"highlight.js": "^10.4.1",
"markdown-it": "^12.0.3",
"markdown-it": "^12.2.0",
"markdown-it-front-matter": "^0.2.1",
"vscode-extension-telemetry": "0.4.2",
"vscode-nls": "^5.0.0"
},
"devDependencies": {
"@types/dompurify": "^2.2.3",
"@types/highlight.js": "10.1.0",
"@types/dompurify": "^2.3.1",
"@types/lodash.throttle": "^4.1.3",
"@types/markdown-it": "0.0.2",
"@types/markdown-it": "12.2.3",
"@types/vscode-notebook-renderer": "^1.60.0",
"@types/vscode-webview": "^1.57.0",
"lodash.throttle": "^4.1.1"