org.specs2.html.Htmlx
See theHtmlx companion trait
Attributes
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object HeaderShow extends Show[Header]
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
class Objecttrait Matchableclass Any
class HtmlRewriteRule(pf: PartialFunction[Node, Seq[Node]]) extends RewriteRule
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
class RewriteRuleclass BasicTransformertrait Node => Nodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Inherited methods
create a sanitized anchor name
Attributes
- Returns
-
all the headers and all the subtoc elements of a document
- Inherited from:
- Htmlx
This rule can be used to add anchors to header elements
collect all the headers as a Tree
Attributes
- Returns
-
true if the element is a header
- Inherited from:
- Htmlx
Attributes
- Returns
-
the text of the first child of a Node
- Inherited from:
- Htmlx
Attributes
- Returns
-
a rewrite rule that will rewrite recursively each node based on a partial function
- Inherited from:
- Htmlx
sanitize a string so that it can be used as a href
Attributes
- Returns
-
a NodeSeq where the first Node is updated with a partial function
- Inherited from:
- Htmlx
Attributes
- Returns
-
a NodeSeq where the first Node attribute named 'named' has a new value, from an Int
- Inherited from:
- Htmlx
Attributes
- Returns
-
a NodeSeq where the first Node attribute named 'named' has a new value
- Inherited from:
- Htmlx
In this article