Hello, I am really excited to use codemirror 6. I just wanted to use it with HTML. Where to get the installation code?
Version 6 doesn’t come as a script file that you can directly import in HTML – you’ll have to bundle it first. See CodeMirror Bundling Example
I also found my way here despite being used to bundling projects with Vite or whatever. My suggestion would be to add a simple page to the docs pointing to the npm repositories that are required, and outlining the steps for newer users. It’s never explicitly laid out despite your bundling overview.
Cheers
Dealing with the same aforementioned issues/questions, I ran across this GitHub repository:
This repository provides some additional hand-holding through the bundling process!
EDIT:
There’s even a thread on this forum about this repository: CodeMirror 6 Quickstart and Learn-By-Examples