Render LaTeX in model-authored text (#7, REQ-019) #12
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/issue-7-latex-rendering"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #7. Model-authored text is now rendered as LaTeX in the desktop half, per REQ-019.
Backend
\( ... \)/\[ ... \](Temml-compatible), with plain text as fallback when LaTeX adds no clarity.Desktop
$...$/\(...\)and display\[...\], with careful escaping so only intended spans are transformed.Build / lint
esbuild minify: true), reducingdist/plugin.jsfrom ~597 KiB to ~315 KiB (under the 512 KiB soft limit).scripts/install.pyre-implements the same gate so a stale lint script can't ship a bad bundle.Tests
npm test: 21/21 (a11y + math rendering spot checks, axe-core).npm run typecheck/npm run buildgreen.pytest: 450 passed; the 5 known pre-existing Windows failures onmainare unchanged.