💾 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

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

< A little experiment

Parent

~starbreaker

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.

Write a reply

Replies

~pink2ds wrote (thread):

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