feat: replace codemirror and image viewr, opt for simplier approach
This commit is contained in:
4
frontend/src/lib/setPrismGlobal.ts
Normal file
4
frontend/src/lib/setPrismGlobal.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
/** Run first so Prism is on global when language components load. */
|
||||
import Prism from 'prismjs'
|
||||
;(globalThis as Record<string, unknown>).Prism = Prism
|
||||
export {}
|
||||
Reference in New Issue
Block a user