renderEpubWithProfile
renderEpubWithProfile(
source,options?):Promise<Uint8Array<ArrayBufferLike>>
Defined in: nodejs/packages/mdi/src/index.ts:617
Build a configured EPUB in Rust. Unlike the one-argument renderEpub, this returns a Promise for API compatibility and supports cover art, metadata, chapters and vertical writing.
Parameters
Section titled “Parameters”source
Section titled “source”string
options?
Section titled “options?”MdiEpubExportOptions = {}
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>