This trait provide additional methods on a NodeSeq or a Node representing an html document
Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
HeaderShow.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class RewriteRuleclass BasicTransformertrait Node => Nodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
create a sanitized anchor name
create a sanitized anchor name
Attributes
Attributes
- Returns
-
all the headers and all the subtoc elements of a document
This rule can be used to add anchors to header elements
This rule can be used to add anchors to header elements
Attributes
collect all the headers as a Tree
collect all the headers as a Tree
Attributes
Attributes
- Returns
-
true if the element is a header
Attributes
- Returns
-
the text of the first child of a Node
Attributes
- Returns
-
a rewrite rule that will rewrite recursively each node based on a partial function
sanitize a string so that it can be used as a href
sanitize a string so that it can be used as a href
Attributes
Attributes
- Returns
-
a NodeSeq where the first Node is updated with a partial function
Attributes
- Returns
-
a NodeSeq where the first Node attribute named 'named' has a new value
Attributes
- Returns
-
a NodeSeq where the first Node attribute named 'named' has a new value, from an Int