[Feature]How to dynamically switch the theme of CodeMirror
Author: Duo-HuangCreated Jun 3, 2025Updated Aug 5, 2026
Labelsenhancement
Initial checklist
- I agree to follow the code of conduct
- I searched issues and discussions and couldn’t find anything (or linked relevant results below)
Affected packages and versions
Non
Link to runnable example
No response
Steps to reproduce
This is just initialize, I want to know how to switch it dynamically.
Expected behavior
please give me a code snippets, thank you
Actual behavior
please give me a code snippets, thank you
Runtime
Chrome
OS
macOS
Build and bundle tools
Vite
Source: Milkdown/milkdown