renderEpubWithProfile
renderEpubWithProfile(
source,options?):Promise<Uint8Array<ArrayBufferLike>>
Defined in: mdi/src/index.ts:304
Build a configured EPUB using the same profile schema as the dedicated publication adapters. Unlike the one-argument renderEpub, this returns a Promise 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>>