// tag
1 post
Turning Markdown into a PDF means measuring text, breaking lines, paginating, and — the part I did not plan for — fetching arbitrary URLs on behalf of untrusted input.