You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is definitely something I've considered - having consistent highlighting on both input and output is something I'd very much like to have.
As it happens, though, the way I'm currently thinking of tackling that is to go in completely the opposite direction (sorry) and strip out CodeMirror entirely, and using prism for highlighting in both input and output. Current status is over on #25. Still definitely not final though
If you're interested in cutting another dependency, you can use something like:
to perform highlighting instead of hljs. You do have to include all the relevant modes, though.
This has the added benefit of making sure the preview highlighting is identical to the output highlighting.
The text was updated successfully, but these errors were encountered: