// Plan2Code Web Console - the Notebook's live-preview editor, on CodeMirror 6. // // Markdown stays the stored format. The editor shows it formatted where it is // typed: headings grow, bullets become dots, the marks around bold, links and // quotes hide, and every mark comes back on the line the cursor is on. Only // the visible lines are decorated, so typing in a 200 KB note costs about what // it does in a short one. CodeMirror itself ships as one vendored file // (vendor/codemirror.esm.js, made by scripts/vendor-codemirror.mjs); every // look here is a class styled by notepad.css, never an inline style, because // the page's policy (`style-src 'self'`) refuses those. CodeMirror's own rules // are a