BlockPosition

laika.bundle.BlockPosition
See theBlockPosition companion object
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.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Any.type
object NestedOnly.type
object RootOnly.type
In this article