Blog Archives

Pandoc md to pdf with better headings

I keep my notes mostly in one Git’d folder of markdown files, which is vastly quicker and easier than my old WYSIWYG word-processed noting system.  I write and navigate my md’d notes in gVim.  For wide convertablility across markdown engines, I only use markdown headings down to the 4th level.  This was working fine until I put some lyrics directly under a 4th level heading and converted the md file to pdf. Read more ›

A huge Powershell one-liner for Pandoc pdf-ing

So I have a directory containing markdown files, and also subdirectories, and sub-subdirectories, and so on, all containing my markdown files that I keep personal notes in. I find this an incredibly effective system as I can swiftly move around, search and edit these files in gVim. This directory is easily copyable to my smartphones, which can easily open text files in various ways, but sometimes pdf is simpler to open and search on a smartphone. So I would like all of these markdown files to be converted (by Pandoc) to pdf, and I would like to do this from time to time, efficiently. This would be helpful for use on my smartphones but have the added benefit that if I want someone else to access my personal notes, they’d be in both markdown and pdf format, which would be much easier for everyone. Read more ›