package format
Ordering
- Alphabetic
Visibility
- Public
- All
Value Members
-
object
EPUB extends TwoPhaseRenderFormat[HTMLFormatter, BinaryPostProcessor]
A post processor for EPUB output, based on an interim HTML renderer.
A post processor for EPUB output, based on an interim HTML renderer. May be directly passed to the
Renderer
orTransformer
APIs:implicit val cs: ContextShift[IO] = IO.contextShift(ExecutionContext.global) val blocker = Blocker.liftExecutionContext( ExecutionContext.fromExecutor(Executors.newCachedThreadPool()) ) val transformer = Transformer .from(Markdown) .to(EPUB) .using(GitHubFlavor) .io(blocker) .parallel[IO] .build val res: IO[Unit] = transformer .fromDirectory("src") .toFile("demo.epub") .transform
In the example above the input from an entire directory gets merged into a single output file.