Codemirror is nice for syntax highlighting, but it's also big- and if you don't need live editing, it's overkill to load it just for formatting purposes. It would be nice to precompile code samples to synyax highlighted (and themed) HTML during build. Has anyone done this?
-
-
I also tried jsdom but it wasn't a complete enough implementation. There was a createRange related error (don't remember the specifics). I was able to hack together something with headless Chrome just now though!pic.twitter.com/ji5S5ZTKTy
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 