3 ms·
Fixed that for you in 2 lines of GNU Make: %.html: %.m4 m4 -P < $< > $@
by quesomaster9000 5y ago
Fixed that for you in 2 lines of GNU Make:
%.html: %.m4
m4 -P < $< > $@
- enriquto 5y agoChange the \t to a ; and see it become a single line
- malkosta 5y agoHow does it handle the most important part? <partial src="partials/layout.html"> My fancy content </partial>
- malkosta 5y agofor file in *.md; do pandoc --quiet --template layout.html $file -o "${file%.*}.html" done
- deleted 5y ago[deleted]