enum class markdown::IncludeSourceSpans
sys::Obj sys::Enum markdown::IncludeSourceSpans
@Js
@Serializable { simple=true }
Enum for configuring whether to include SourceSpans or not while parsing.
- blocks
-
const static IncludeSourceSpans blocks := ...
Include source spans on Block nodes
- blocks_and_inlines
-
const static IncludeSourceSpans blocks_and_inlines := ...
Include source spans on block nodes and inline nodes
- fromStr
-
static new fromStr(Str name, Bool checked := true)
Return the IncludeSourceSpans instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- none
-
const static IncludeSourceSpans none := ...
Do not include source spans
- vals
-
const static IncludeSourceSpans[] vals := ...
List of IncludeSourceSpans values indexed by ordinal