INNER CODE UNIT · JavaScript
danburzo/percollate · index.js:658
async function pdf(urls, options) {
return await generate(bundlePdf, urls, {
...options,
// Hyphenate by default
hyphenate: options.hyphenate !== undefined ? options.hyphenate : true,
slugCache: {}
});
}
/*
Generate EPUB
*/
async function epub(urls, options) {
return await generate(bundleEpub, urls, {
...options,
xhtml: true,
mapRemoteResources: !options.inline,
hyphenate: options.hyphenate !== undefined ? options.hyphenate : false,