💾 Archived View for midnight.pub › replies › 500 captured on 2022-03-01 at 17:36:34. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
I've got backups, so losing my originals shouldn't be a problem. Besides, I like using makefiles to rebuild my pages when I change the sources.
The problem I've been having is using m4 macros and includes with markdown. When I run m4 before the markdown converter, the resulting HTML comes out mangled.
Whaddayamean mangled? I tried converting a few of them and they look fine.
I tried with pandoc, which just handled it straight up, and kramdown, where I needed to first strip out the YAML preamble. Like this:
sed -e '1,/^---$/d' /tmp/writing-html-in.txt|kramdown