From c2ee844b6408a997dec31413230a238030a55755 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Thu, 21 Mar 2019 13:18:03 +0100 Subject: [PATCH] Use the right syntax for metadata --- Makefile.ressources | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.ressources b/Makefile.ressources index 79e6008..169b87b 100644 --- a/Makefile.ressources +++ b/Makefile.ressources @@ -1,11 +1,12 @@ %.md: %.org rm -f $@ - LANG=C ; pandoc -s -f org -t markdown_github -o $@ $^ + LANG=C ; pandoc -s -f org -t gfm -o $@ $^ mv $@ $@.bak echo '---' > $@ grep -i -e "#+TITLE:" -e "#+AUTHOR:" $^ | sed 's/#+//' >> $@ # -e "#+DATE:" ## echo "DATE: `date '+%B %e, %Y'`" >> $@ git log $^ | grep Date | head -n 1 | sed 's/+.*//' >> $@ + sed -i -e 's/TITLE:/title:/i' -e 's/AUTHOR:/author:/i' -e 's/Date:/date:/i' $@ echo "---\\n" >> $@ cat $@.bak >> $@ rm $@.bak -- 2.18.1