BlockPosition

sealed trait BlockPosition

Specifies the position a block element is allowed to appear in.

RootOnly elements can only appear on the top level of the document hierarchy, while NestedOnly can only appear nested within other elements, e.g. as part of a list item or within a quoted block. Any allows block elements in any position.

Companion:
object
class Object
trait Matchable
class Any
object Any.type
object NestedOnly.type
object RootOnly.type