TreeProcessorBuilder

laika.theme.TreeProcessorBuilder
See theTreeProcessorBuilder companion object

Provides several shortcuts for constructing a TreeProcessor (which is just a type alias for a plain Kleisli).

Attributes

Companion
object
Source
TreeProcessorBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type MapRes = TreeProcessor[F]

Attributes

Source
TreeProcessorBuilder.scala

Value members

Concrete methods

def evalMapTree(f: (ParsedTree[F]) => F[ParsedTree[F]]): TreeProcessor[F]

Creates a new transformer that applies the specified effectful function to the parsed tree before rendering.

Creates a new transformer that applies the specified effectful function to the parsed tree before rendering.

Attributes

Source
TreeProcessorBuilder.scala

Inherited methods

Creates a new transformer that applies the specified effectful function to each document in the parsed tree before rendering.

Creates a new transformer that applies the specified effectful function to each document in the parsed tree before rendering.

Attributes

Inherited from:
TreeMapperOps (hidden)
Source
TreeMapperOps.scala

Creates a new transformer that applies the specified function to each document in the parsed tree before rendering.

Creates a new transformer that applies the specified function to each document in the parsed tree before rendering.

Attributes

Inherited from:
TreeMapperOps (hidden)
Source
TreeMapperOps.scala
def mapTree(f: (ParsedTree[F]) => ParsedTree[F]): MapRes

Creates a new transformer that applies the specified function to the parsed tree before rendering.

Creates a new transformer that applies the specified function to the parsed tree before rendering.

Attributes

Inherited from:
TreeMapperOps (hidden)
Source
TreeMapperOps.scala