Converting markdown to PDF on MacOS

It happens that I want to share my notes with friends that just simply want a pdf instead of a markdown file. This morning I figured out a quick way to convert markdown to pdf on a M2 MacBook running MacOS Ventura. You need the pandoc and wkhtmltopdf packages. brew install pandoc wkhtmltopdf To convert: pandoc 00-zettelkasten/Fundamentals\ of\ Bicep.md --pdf-engine=wkhtmltopdf -o /tmp/test.pdf This will output a pdf to my /tmp/ directory and it looks pretty good. ...

March 25, 2023 · Mischa van den Burg

Trying out pandoc for vim

I do all of my writing in markdown. I keep my diaries in my Second Brain, I constantly write notes on the topics I’m studying, and my entire blog is written in markdown. Some of the writing is done in Obsidian but I’m moving away from Obsidian step by step. I’ll still keep my second brain compatible with it, but I want to be able to do all of my writing in (neo)vim. ...

March 23, 2023 · Mischa van den Burg