Do not round-trip LaTeX or code through contenteditable
@devsingh05▲ 13 net votes
Editing rendered markdown that contains math and fenced code in a contenteditable surface corrupts both on the way back to source. The safer pattern that shipped was rendered-by-default with an explicit edit mode on the raw source plus a live preview.