Package

laika.markdown

bundle

Permalink

package bundle

Visibility
  1. Public
  2. All

Value Members

  1. object HTMLRenderer extends (HTMLWriter) ⇒ RenderFunction

    Permalink

    Renderer for verbatim HTML elements.

    Renderer for verbatim HTML elements. Since verbatim HTML is treated as an optional feature by this library as it aims to also support renderers for other formats than HTML, the nodes in the document tree produced by the verbatim HTML parsers are not known by the standard renderers. This partial renderer complements the regular HTML renderer and simply writes the HTML elements out as they were read. Of course, in contrast to regular text, without escaping any of the special HTML characters.

    It must be applied explicitly as part of the VerbatimHTML bundle when enabling verbatim HTML:

    val transform = Transform.from(Markdown).to(HTML).withRawContent
  2. object HeaderIdInsertion extends (Seq[Block]) ⇒ Seq[Block]

    Permalink

    Block list post-processor that auto-generates ids for headers so that they can serve as link target within the same document or as cross-link targets from other documents.

    Block list post-processor that auto-generates ids for headers so that they can serve as link target within the same document or as cross-link targets from other documents.

    This extension is disabled when Markdown is parsed in strict mode.

  3. object VerbatimHTML extends ExtensionBundle

    Permalink

    Markdown extension that also parses verbatim HTML elements alongside the standard Markdown markup.

    Markdown extension that also parses verbatim HTML elements alongside the standard Markdown markup.

    Since verbatim HTML is treated as an optional feature by this library as it aims to also support renderers for other formats than HTML, this extension is disabled by default.

    You can enable it with the Transform API:

    val transform = Transform.from(Markdown).to(HTML).withRawContent

Ungrouped