This commit is contained in:
Justin Lin
2025-11-06 16:57:12 +11:00
commit 48cc11ba3e
48 changed files with 2758 additions and 0 deletions

13
epub.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
FILES=$(cat ./booklist.txt)
META=./meta.yml
OUTPUT=book.epub
pandoc --from markdown --to epub3 \
--metadata-file=$META \
-M title="自戀筆記" \
--output $OUTPUT \
--split-level 1 \
--toc \
--toc-depth=1 \
--top-level-division=section \
$FILES