all: introduction_to_markdown.html
NLINES=10000000
%.html: %.org
emacs -batch $^ --funcall org-html-export-to-html
sed -i -e 's/
/
/g' \
-e 's///g' $@
mv $@ $@.bak
cat $@.bak | grep -A $(NLINES) -e '' | grep -B $(NLINES) -e '' | grep -v -e '' -e '
' > $@
rm $@.bak