Simon Willison releases LaTeX renderer and shares how he built it using Claude Code
Simon Willison released the web tool LaTeX renderer, which renders documents from source stored in a URL fragment. He also provided the prompts for Claude Code, a list of libraries and a requirement for XSS protection.
Simon Willison built the web tool LaTeX renderer using Claude Code. It loads a document from the URL fragment after the # character, allowing it to be shared via a link or bookmarked. It supports compression with a dictionary tailored for LaTeX, switching between source text and the rendered document, and loading source from a URL or from Gist.
The author published the sequence of prompts and listed the libraries used: Pako 2.1.0, MathJax 4.1.3, faster-latex 0.3.1 and DOMPurify 3.4.16. The prompts also included a requirement for XSS protection using an isolated iframe environment with the sandbox attribute, following the approach used in his earlier tool. The published requirement does not in itself demonstrate that the security of the result has been verified.
Why it matters
Users can share a rendered document via a link and then switch to editing its source. Developers gain a concrete example of prompts for Claude Code that combine document storage in a URL, compression, rendering and requirements for secure input handling.
Two audiences, two different impacts
What this means
For individuals
When working with LaTeX documents, you can use a link that preserves the document source and lets you switch between editing and viewing it.
For a business
Development teams gain a concrete reference for designing a similar web editor; however, they must independently verify the protection when processing external content.
DevelopmentCheck the original
Event sources
only one source so far · 1 publisher, 1 independent. We count feeds from the same owner only once.