discuss.CodeMirror
hendrikerz
Hacking Markdown into CodeMirror. And sometimes TeX.