Use epub-metadata option
Use epub-metadata option for pandoc to consume metadata file. The previous option --metadata-fie is probably outdated.pull/293/head
parent
33431e61a9
commit
452d743ad5
|
@ -6,7 +6,7 @@ generate_from_stdin() {
|
|||
|
||||
echo "Generating '$language' ..."
|
||||
|
||||
pandoc --metadata-file=epub-metadata.yaml --metadata=lang:$2 --from=markdown -o $1 <&0
|
||||
pandoc --epub-metadata=epub-metadata.yaml --metadata=lang:$2 --from=markdown -o $1 <&0
|
||||
|
||||
echo "Done! You can find the '$language' book at ./$outfile"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue