< 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