Now using codemirror and its markdown mode.