Skip to content

Check maths with KaTeX - #58

Merged
peterbjohnson merged 5 commits into
devfrom
wb/t29
Sep 20, 2026
Merged

peterbjohnson merged 5 commits into
devfrom
wb/t29

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

Lambda Feedback renders maths with KaTeX in the browser, so maths KaTeX rejects is a fault whatever pdflatex says. Render every maths expression in every field with the katex npm package in strict mode through Node, a recent version pinned in the package, and report each rejection by field, source range and KaTeX's message. The delimiter checks now in in2lambda/validation and the JSON checks of t8 report in the same shape. Node is optional: without it validate says what to install and skips this check, and CI installs it. Done when the test data's KaTeX failure cases are reported and its clean cases are not.


Workbench ticket t29.

@peterbjohnson
peterbjohnson merged commit 12b5d82 into dev Sep 20, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant