feat: replace codemirror and image viewr, opt for simplier approach

This commit is contained in:
2026-03-12 23:07:51 +01:00
parent b71d32da5e
commit 4dca9c6478
19 changed files with 464 additions and 709 deletions

View File

@@ -0,0 +1,7 @@
/**
* Load Prism and register extra languages. Import this once before any syntax highlighting (e.g. in main.tsx).
* setPrismGlobal must run first so component IIFEs see Prism on global.
*/
import './setPrismGlobal'
import 'prismjs/components/prism-markdown'
import 'prismjs/components/prism-plant-uml'