RewriteRules

laika.ast.RewriteRules
See theRewriteRules companion class
object RewriteRules

Factory methods and utilities for dealing with rewrite rules.

Attributes

Companion
class
Source
RewriteRules.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Value members

Concrete methods

Chains the specified rule factory functions into a single factory function.

Chains the specified rule factory functions into a single factory function.

Attributes

Source
RewriteRules.scala
def defaultsFor(root: DocumentTreeRoot, phase: RewritePhase, slugBuilder: String => String): Seq[RewriteRulesBuilder]

The default built-in rewrite rules, dealing with section building and link resolution.

The default built-in rewrite rules, dealing with section building and link resolution. These are not installed as part of any default extension bundle as they have specific ordering requirements not compatible with the standard bundle ordering in OperationConfig.

Attributes

Source
RewriteRules.scala

Creates a new instance without any rules.

Creates a new instance without any rules. Applying an empty instance to an AST will always return the AST unchanged.

Attributes

Source
RewriteRules.scala

Creates a new instance containing only this single rule for blocks.

Creates a new instance containing only this single rule for blocks.

Attributes

Source
RewriteRules.scala

Creates a new instance containing only this single rule for spans.

Creates a new instance containing only this single rule for spans.

Attributes

Source
RewriteRules.scala

Creates a new instance containing only this single rule for template spans.

Creates a new instance containing only this single rule for template spans.

Attributes

Source
RewriteRules.scala