PDF: default to odd pages right

This commit is contained in:
John Factotum
2024-06-22 01:40:58 +08:00
parent 239af2437a
commit 37626ba44a
+1
View File
@@ -592,6 +592,7 @@ export const makePDF = async file => {
}, },
size: 1000, size: 1000,
})) }))
book.sections[0].pageSpread = 'right'
book.isExternal = uri => /^\w+:/i.test(uri) book.isExternal = uri => /^\w+:/i.test(uri)
book.resolveHref = async href => { book.resolveHref = async href => {
const parsed = JSON.parse(href) const parsed = JSON.parse(href)