On Wed, 11 Nov 2026 16:19:42 +0100, John Bokma wrote:
> I use Markdown + Pandoc
Great combination. I added the ability to format a text field as
Markdown via Pandoc to a project for a client recently. Only trouble
was, when the browser shows the PDF version, it insists on displaying
a list of thumbnails down the side, because that’s what the settings
in the PDF file say to do.
Turning this off involved massaging the generated PDF data with
PikePDF. But the project was in PHP (no, I didn’t start it, I just
took it over), and I couldn’t find any PHP binding for PikePDF. So I
wrote a little Python script to do the postprocessing (and the
Markdown rendering, while it was at it).
Yes, it was an excuse to introduce some Python code into a
predominantly-PHP project. 😜