EpubWriter
class EpubWriter(bookProcessor: BookProcessor = BookProcessorPipeline(
mutableListOf(StylesheetLinker())
))(source)
Generates an EPUB file. Not thread-safe, single-use.
The default bookProcessor is a pipeline containing StylesheetLinker, which auto-injects <link rel="stylesheet"> tags for every stylesheet registered via io.documentnode.epub4kmp.domain.Book.addStylesheet. Pass your own BookProcessor to opt out or to compose additional steps.
Constructors
Link copied to clipboard
constructor(bookProcessor: BookProcessor = BookProcessorPipeline(
mutableListOf(StylesheetLinker())
))