CodeMirror: Autoresize demo

By setting a few CSS properties, CodeMirror can be made to automatically resize to fit its content.