# Local CodeMirror 6 for Neuroemi LaTeX

This self-hosted browser ESM bundle provides only the editor primitives and the TeX stex stream parser. No CDN, telemetry, runtime package resolution or network request is required. All included packages are MIT licensed; see LICENSES.txt. esbuild is a build-only dependency, not bundled.

Official references: https://codemirror.net/docs/ref/ ; https://code.haverbeke.berlin/codemirror/legacy-modes ; https://esbuild.github.io/getting-started/ .

Regenerate with Node and npm: node scripts/latex-editor-build.mjs --acquire. It stages a pinned npm ci --ignore-scripts in a fresh temporary directory and retains that directory for audit. It never changes the repository package.json or node_modules. Existing package-lock.json pins every transitive tarball/integrity; acquisition uses only https://registry.npmjs.org/. Verify without network: node scripts/latex-editor-build.mjs --check.

The manifest records package versions, npm SHA-512 integrity, license SHA-256, source-entry SHA-256 and output SHA-256. Fonts use the local system monospace stack. User source remains in the editor's memory; persistence/export/compilation is owned by the application, not this adapter.
