From 81344da09a8abb044860056476e21827045e60e8 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 26 Apr 2026 15:55:55 -0400 Subject: [PATCH] fix: PDF body fills page width (override pandoc CSS max-width) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pandoc's --standalone HTML5 template applies max-width: 36em + margin: 0 auto + padding: 50px to body, centering content in a narrow column on any page size. With wkhtmltopdf at 15mm page margins, effective content margins were measuring ~55mm because pandoc's CSS added ~40mm of inner padding on top. Inject a header-includes ", ]) if is_binary: