A decorated header where the level gets determined in the rewrite phase based on the decoration used and the order they appear in the document. The first decoration type encountered is used for level 1, the second for level 2, and so on.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Unresolvedtrait SpanContainertrait RewritableContainertrait ElementContainer[Span]trait ElementTraversaltrait Blockclass Elementtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Types
Value members
Concrete methods
Creates a copy of this instance with the specified new content.
Creates a copy of this instance with the specified new content.
Implementation note: This method exists to deal with the fact that there is no polymorphic copy method and trades a small bit of boilerplate for avoiding the compile time hit of using shapeless for this.
Attributes
Returns a new instance of this element with the specified options replacing the current value.
Returns a new instance of this element with the specified options replacing the current value.
Attributes
Inherited methods
Collects elements by applying the partial function to all elements it is defined for, in depth-first traversal, including this element itself.
Collects elements by applying the partial function to all elements it is defined for, in depth-first traversal, including this element itself.
Attributes
- Inherited from:
- ElementTraversal
Extracts the text from the spans of this container, removing any formatting or links.
Extracts the text from the spans of this container, removing any formatting or links.
Attributes
- Inherited from:
- SpanContainer
Invokes the specified function for each child of this element container, including children of children, and this element itself, in depth-first traversal.
Invokes the specified function for each child of this element container, including children of children, and this element itself, in depth-first traversal.
Attributes
- Inherited from:
- ElementTraversal
Indicates whether this element has an id assigned.
Indicates whether this element has the specified style assigned.
Returns a new instance of this element with its options merged with the specified options.
Returns a new instance of this element with its options merged with the specified options.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.
Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.
Attributes
- Inherited from:
- Element
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Rewrites all children of this container based on the specified rules.
Rewrites all children of this container based on the specified rules.
Concrete types are expected to support rewriting at least for all standard block, span and template span elements they contain, plus optionally for any other elements that have custom support for rewriting.
Attributes
- Inherited from:
- SpanContainer
Rewrites all span children of this container based on the specified rules.
Rewrites all span children of this container based on the specified rules.
Concrete types are expected to support rewriting at least for all standard block, span and template span elements they contain, plus optionally for any other elements that have custom support for rewriting.
Attributes
- Inherited from:
- RewritableContainer
Selects all elements satisfying the specified predicate, collecting in depth-first traversal, including this element itself.
Selects all elements satisfying the specified predicate, collecting in depth-first traversal, including this element itself.
Attributes
- Inherited from:
- ElementTraversal
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
ElementContainer -> Any
- Inherited from:
- ElementContainer
Returns a new instance of this element with its id set to the specified value, overriding any existing value.
Returns a new instance of this element with its id set to the specified value, overriding any existing value.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the specified style added to its existing styles.
Returns a new instance of this element with the specified style added to its existing styles.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the specified styles added to its existing styles.
Returns a new instance of this element with the specified styles added to its existing styles.
Attributes
- Inherited from:
- Element
Returns a new instance of this element with the specified styles added to its existing styles.
Returns a new instance of this element with the specified styles added to its existing styles.
Attributes
- Inherited from:
- Element
Concrete fields
An error message to display when this element remains unresolved until after the final AST transformation step.
An error message to display when this element remains unresolved until after the final AST transformation step.