org.specs2.html.Htmlx
See theHtmlx companion trait
Attributes
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object HeaderShow extends Show[Header]
case class NodeRewriteRule(pf: PartialFunction[Node, Seq[Node]]) extends RewriteRule
Attributes
- Inherited from:
- Htmlx
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RewriteRuleclass BasicTransformertrait Node => Nodeclass Objecttrait Matchableclass AnyShow all
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
Givens
Inherited givens
Attributes
- Inherited from:
- Htmlx
Extensions
Inherited extensions
extension (n: Node)
Attributes
- Inherited from:
- Htmlx
extension (ns: NodeSeq)(using nothing: Int)
Attributes
- Inherited from:
- Htmlx
Attributes
- Inherited from:
- Htmlx
extension (ns: Seq[Node])(using nothing: Int)
Attributes
- Inherited from:
- Htmlx
Attributes
- Inherited from:
- Htmlx
extension (s: String)(using nothing: Int)
Attributes
- Inherited from:
- Htmlx
In this article