I had this worked up locally at one point ala the markdown demo. It was fairly simple, but also a bit finicky. We’ve been burned enough with this sort of “mode switching” in other editors/cms setups that we’ve backed away from it for now.