homepage/mdwntohtml

16 lines
288 B
Plaintext
Raw Normal View History

#! /bin/sh
while IFS=: read field value; do
case "$field" in
"")
break
;;
Title)
# echo strips leading and trailing whitespace
title=$(echo $value)
;;
esac
done
2010-12-03 16:25:12 -07:00
m4 | markdown | m4 -DTITLE="$title" $1 -