remove judge0 code editor, upgrade vitepress to v2
Deploy / deploy (build, debian, 22) (push) Canceled after 0s
Deploy / deploy (build:staging, school, 8822) (push) Canceled after 0s

- Drop the <editor> component, Judge0 client and CodeMirror themes/deps
- Pin markdown-it-mathjax3 to ^4 to satisfy vitepress peer dependency
- Upgrade vitepress 1.6.4 -> 2.0.0-alpha.20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-22 16:18:37 +08:00
1 parent e5c16de612
commit 2db1fa5d0d
9 files changed
+1288 -2563

No files matched your search

-2
View File
@@ -2,13 +2,11 @@ import type { Theme } from "vitepress"
import DefaultTheme from "vitepress/theme"
import BVideo from "./components/BVideo.vue"
import Author from "./components/Author.vue"
import CodeEditor from "./components/CodeEditor.vue"
export default {
extends: DefaultTheme,
async enhanceApp({ app }) {
app.component("bvideo", BVideo)
app.component("author", Author)
app.component("editor", CodeEditor)
},
} satisfies Theme