laika.format

package laika.format

Members list

Type members

Classlikes

case object EPUB extends TwoPhaseRenderFormat[HTMLFormatter, BinaryPostProcessorBuilder]

A post processor for EPUB output, based on an interim HTML renderer. May be directly passed to the Renderer or Transformer APIs:

A post processor for EPUB output, based on an interim HTML renderer. May be directly passed to the Renderer or Transformer APIs:

val transformer = Transformer
 .from(Markdown)
 .to(EPUB)
 .using(GitHubFlavor)
 .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.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TwoPhaseRenderFormat[HTMLFormatter, BinaryPostProcessorBuilder]
trait Format
class Object
trait Matchable
class Any
Show all
Self type
EPUB.type