feat: section 1

This commit is contained in:
Justin Lin
2025-11-06 17:11:05 +11:00
parent 48cc11ba3e
commit fafabe4a47
13 changed files with 65 additions and 84 deletions

View File

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