Back to timeline

Thu, October 1510:07ToolsAI codingResearch & papersAI coding guide

Simon Willison releases online LaTeX renderer

Decision Brief

What changedInspired by Tiny Little Office, Simon Willison built a web tool with Claude Code that renders LaTeX source into visual documents.
Why it mattersPutting LaTeX source in a URL fragment yields a shareable, renderable link, sparing developers the step of setting up a local rendering environment for technical blog posts, paper drafts, or math notes.
Who should careAI coding tool users
Affected stackClaude Code
Builder actionUpdate Claude Code to the latest version
Source confidenceMedium · Reliable media or first-hand reporting

The tool renders LaTeX source placed in the URL's #fragment directly: single formulas are typeset with MathJax, while full documents or prose fragments use faster-latex. A live preview sits beside the editor, and a toolbar toggles between edit and render views. Source can be typed manually, loaded from a URL or GitHub Gist, or picked from built-in examples; since LaTeX stays in the URL fragment, it can be shared as a readable or compressed link. It uses Pako 2.1.0, MathJax 4.1.3, faster-latex 0.3.1, and DOMPurify 3.4.16, borrowing the iframe sandbox mechanism from the author's earlier SVG in Markdown tool to guard against XSS, and reusing the load-from-URL-or-Gist feature. For developers who often paste math into web pages, write course materials, or organize paper fragments, this means no local TeX distribution is needed—just drop the source into a link and the recipient sees the typeset result. However, rendering happens entirely client-side, so layout quality for complex documents and load size remain limited by the chosen libraries.

Summary basis: full article readCompiled from the source scope noted above; the original remains authoritative.

Sources

  • Simon Willison:Blog

    Hands-on notes on LLM tools, local models, and practical AI engineering.

  • Simon Willison:Blog

Related intel

留言

登入后即可留言,和其他 builder 交换实测心得。

还没有留言,抢头香。