View live: https://observablehq.observablehq.cloud/framework-example-codemirror/
This Observable Framework example demonstrates how to implement an editor using CodeMirror. The editor is compatible with the built-in view
function, letting it serve as a reactive input: the editor emits an input event on Shift-Enter or when the run button is clicked.