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. ...