The examples in this article use the "basic" editing mode (which I personally prefer).
There is also an "external" mode where you can use a full-featured editor with syntax highlighting, etc. For example:
There is also an "external" mode where you can use a full-featured editor with syntax highlighting, etc. For example:
I didn't mind so much losing the highlighting upon entering edit mode, but I did mind losing it forever, i.e. not having it even after leaving edit mode. Perhaps if there was a way to re-apply the syntax highlighting once the editable element loses focus, then losing syntax highlighting temporarily when actively editing wouldn't be as much of a problem?