Laika: Documentation Generator for Scala


Laika is a content transformation library from the Typelevel ecosystem. It takes a collection of Markdown files plus configuration and produces HTML, PDF, or EPUB output.

As a type signature:

  f: (Seq[MD] + configuration) => Seq[HTML]
  f: (Seq[MD] + configuration) => Seq[PDF]

Unlike documentation tools that rely on YAML or TOML configuration, Laika is configured in Scala — which means the full power of the language is available for customization: custom directives, template transformations, and output renderers.

The documentation is thorough and worth reading before reaching for a heavier tool.