Commit e75d84f2 authored by Arnaud Legrand's avatar Arnaud Legrand

More cosmetics for FUN

parent 8de45fb1
......@@ -6,5 +6,7 @@ NLINES=10000000
%.html: %.org
emacs -batch $^ --funcall org-html-export-to-html
sed -i 's/<pre /<pre style="padding-left: 30px; background-color: #f6f8fa;" /g' $@
sed -i 's/<li /<li style="margin-bottom:0;" /g' $@
mv $@ $@.bak
cat $@.bak | grep -A $(NLINES) -e '<body>' | grep -B $(NLINES) -e '<div id="postamble" class="status">' | grep -v -e '<body>' -e '<div id="postamble" class="status">' > $@
rm $@.bak
......@@ -5,5 +5,7 @@ NLINES=10000000
%.html: %.org
emacs -batch $^ --funcall org-html-export-to-html
sed -i 's/<pre /<pre style="padding-left: 30px; background-color: #f6f8fa;" /g' $@
sed -i 's/<li /<li style="margin-bottom:0;" /g' $@
mv $@ $@.bak
cat $@.bak | grep -A $(NLINES) -e '<body>' | grep -B $(NLINES) -e '<div id="postamble" class="status">' | grep -v -e '<body>' -e '<div id="postamble" class="status">' > $@
rm $@.bak
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment