init
This commit is contained in:
13
epub.sh
Executable file
13
epub.sh
Executable 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
|
||||
Reference in New Issue
Block a user