Code mirror

Editable example
Read-only example