enum class markdown::IncludeSourceSpans

sys::Obj
  sys::Enum
    markdown::IncludeSourceSpans

@Js
@Serializable { simple=true }

Source

Enum for configuring whether to include SourceSpans or not while parsing.

blocks

const static IncludeSourceSpans blocks := ...

Source

Include source spans on Block nodes

blocks_and_inlines

const static IncludeSourceSpans blocks_and_inlines := ...

Source

Include source spans on block nodes and inline nodes

fromStr

static new fromStr(Str name, Bool checked := true)

Source

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 := ...

Source

Do not include source spans

vals

const static IncludeSourceSpans[] vals := ...

Source

List of IncludeSourceSpans values indexed by ordinal