Overview of Laika
mainLaika is a site and e-book generator and a customizable text markup transformer. It is designed to work with sbt, Scala, and Scala.js. It supports converting Markdown and reStructuredText into various output formats including HTML, EPUB, and PDF.
Key features include:
- Flexible Runtime: Use it as an sbt plugin, a JVM Scala library, or in the browser via Scala.js.
- Purely Functional: Fully referentially transparent, uses no exceptions or runtime reflection, and integrates with
cats-effectfor polymorphic effect handling. - Rich Feature Set: Includes an integrated preview server, syntax highlighting, link validation, auto-generated navigation, and versioned documentation.
- Lightweight Theme: The default 'Helium' theme uses minimal handcrafted CSS and JS without external frameworks like Bootstrap.
- Highly Extensible: Allows processing the document AST, adjusting rendering for individual nodes, or extending markup languages with custom directives.