BreadcrumbDirectives

laika.directive.std.BreadcrumbDirectives$

Provides the implementation for the standard breadcrumb directives.

This includes the template and markup-block variants of this directive, which builds a navigation list from the root node of the input tree to the current document.

For full documentation see the section about the Breadcrumb Directive in the manual.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class BreadcrumbBuilder(source: SourceFragment, options: Options) extends BlockResolver

A block resolver that replaces itself with a navigation list from the root node of the input tree to the current document during AST transformations.

A block resolver that replaces itself with a navigation list from the root node of the input tree to the current document during AST transformations.

Serves as the implementation for the breadcrumb directive, but can also be inserted into the AST manually.

Attributes

Supertypes
trait Unresolved
trait Block
class Element
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete fields

lazy val forBlocks: Directive

Implementation of the breadcrumb directive for block elements in markup documents.

Implementation of the breadcrumb directive for block elements in markup documents.

Attributes

Implementation of the breadcrumb directive for templates.

Implementation of the breadcrumb directive for templates.

Attributes