MdiEpubExportOptions
本頁內容尚未翻譯。
MdiEpubExportOptions =
EpubExportOptions&object
Defined in: mdi/src/index.ts:25
Options for a configured EPUB export. The profile controls metadata,
chapter splitting and typography; cover supplies the actual image data.
Type Declaration
Section titled “Type Declaration”author?
Section titled “author?”
optionalauthor?:string
chapterSplitLevel?
Section titled “chapterSplitLevel?”
optionalchapterSplitLevel?:"h1"|"h2"|"h3"|"none"
coverImage?
Section titled “coverImage?”
optionalcoverImage?:Uint8Array
Shorthand for cover: { data: coverImage, mediaType: coverMediaType }.
coverMediaType?
Section titled “coverMediaType?”
optionalcoverMediaType?:EpubCover["mediaType"]
optionaldate?:string
fontFamily?
Section titled “fontFamily?”
optionalfontFamily?:string
fontSize?
Section titled “fontSize?”
optionalfontSize?:number
Body type size in typographic points.
fullwidthSpaceIndent?
Section titled “fullwidthSpaceIndent?”
optionalfullwidthSpaceIndent?:boolean
Use an ideographic-space-compatible first-line indent.
gridMode?
Section titled “gridMode?”
optionalgridMode?:"strict"|"typographic"
EPUB has no fixed pages; use typographic when overriding type metrics.
identifier?
Section titled “identifier?”
optionalidentifier?:string
language?
Section titled “language?”
optionallanguage?:string
lineSpacing?
Section titled “lineSpacing?”
optionallineSpacing?:number
Baseline multiplier, for example 1.5 for one-and-a-half spacing.
publisher?
Section titled “publisher?”
optionalpublisher?:string
textIndent?
Section titled “textIndent?”
optionaltextIndent?:number
title?
Section titled “title?”
optionaltitle?:string
Ergonomic aliases merged into profile.metadata.
verticalWriting?
Section titled “verticalWriting?”
optionalverticalWriting?:boolean
Ergonomic aliases merged into profile.typesetting and profile.epub.