These things generally already offer side-by-side page layouts anyway, no?
Doesn't seem like that much of a stretch from a UI perspective to do something similar with a Markdown preview.