mirror of
https://github.com/davidkaya/aryx.git
synced 2026-11-17 23:28:18 +01:00
- Register CodeHighlightNode in the editor node set - Add CodeHighlightPlugin that calls registerCodeHighlighting - Map 20+ Prism token types to mc-tok-* CSS classes with dark theme colors - Explicitly import prismjs + language components and set globalThis.Prism before @lexical/code-prism loads, fixing a Vite dev-mode race where the CJS shim could initialize the tokenizer before the global was set - Added @types/prismjs for type checking Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>