From bfb56ad43fb63f46dc247e6d5382fdeb1e4772cd Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 31 Oct 2023 19:40:35 +0200 Subject: rewrite the whole site Signed-off-by: Lars Wirzenius Sponsored-by: author --- markdown-to-pdf | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 markdown-to-pdf (limited to 'markdown-to-pdf') diff --git a/markdown-to-pdf b/markdown-to-pdf deleted file mode 100755 index 732a456..0000000 --- a/markdown-to-pdf +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -set -e - -book_prelude() -{ - cat < - -Book - - - -eof -} - -book_end() -{ - cat < - -eof -} - -chapter() -{ - cat < -eof - - markdown "$1" - - cat < -eof -} - -(book_prelude -for f in "$@" -do - chapter "$f" -done -book_end) > book.html -wkhtmltopdf book.html book.pdf -- cgit v1.2.1