Commit ef9cdfe
committed
refactor: clean up dependencies and improve markdown rendering
- Removed unused dependencies: @bugsplat/elfy, @vue/shared, @neilsustc/markdown-it-katex, elfjs, elfy, and katex from package.json.
- Updated highlight.js usage to only register essential languages (C, C++, Python, JavaScript, TypeScript) for RT-Thread development in renderer.ts.
- Removed math rendering options and related code from MarkdownRenderer to simplify the rendering process.
- Cleaned up imports in App.vue by removing unused styles for KaTeX and highlight.js.
- Disabled math rendering in the webview about page by removing enableMath option.1 parent c2c62cd commit ef9cdfe
File tree
6 files changed
+1923
-446
lines changed- src
- markdown
- vue/about
- webviews
6 files changed
+1923
-446
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
16 | 31 | | |
17 | 32 | | |
18 | 33 | | |
| |||
0 commit comments