Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Check if a block is empty.
Check if a block is empty.
Empty paragraphs, block quotes, and lists are considered empty.
Value parameters
- block
-
The block to check
Attributes
- Returns
-
true if the block is empty
- Source
- Doc.scala
Normalize a single block to canonical form.
Normalize a single block to canonical form.
Value parameters
- block
-
The block to normalize
Attributes
- Returns
-
Normalized block
- Source
- Doc.scala
Normalize a chunk of blocks to canonical form.
Normalize a chunk of blocks to canonical form.
Value parameters
- blocks
-
The blocks to normalize
Attributes
- Returns
-
Normalized blocks with adjacent Text nodes merged and empty blocks removed
- Source
- Doc.scala
Normalize a single inline to canonical form.
Normalize a single inline to canonical form.
Value parameters
- inline
-
The inline to normalize
Attributes
- Returns
-
Normalized inline
- Source
- Doc.scala
Normalize a chunk of inlines to canonical form.
Normalize a chunk of inlines to canonical form.
Adjacent Text nodes are merged, and empty Text nodes are removed.
Value parameters
- inlines
-
The inlines to normalize
Attributes
- Returns
-
Normalized inlines with adjacent Text nodes merged
- Source
- Doc.scala