How the render pipeline works, what makes a code card readable, and how to get a picture out of an agent. Short pieces, each one grounded in the shipped code.
The pipeline behind every export: Shiki highlighting, a sandboxed browser, deviceScaleFactor for the 2× and 4× scales, and why the preview and the download are the same document.
Auto-detection is a short ordered list of regexes with one fallback. Here is the real order, the two collisions that surprise people, and when to set the language yourself.