create a sanitized anchor name
create a sanitized anchor name
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
collect all the headers as a Tree
collect all the headers as a Tree
true if the element is a header
the text of the first child of a Node
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
a NodeSeq where the first Node is updated with a partial function
a NodeSeq where the first Node attribute named 'named' has a new value, from an Int
a NodeSeq where the first Node attribute named 'named' has a new value