Rich text / foldkit-richtext-markdown

BlockSpelling

const · packages/richtext-markdown/src/style.ts:31

const BlockSpelling: Schema.Struct<{
  bullet: Schema.optionalKey<Schema.Literals<readonly ['-', '*', '+']>>
  delimiter: Schema.optionalKey<Schema.Literals<readonly ['.', ')']>>
  fence: Schema.optionalKey<Schema.Literals<readonly ['`', '~']>>
  rule: Schema.optionalKey<Schema.Literals<readonly ['-', '*', '_']>>
  heading: Schema.optionalKey<Schema.Literals<readonly ['atx', 'setext']>>
  spacing: Schema.optionalKey<Schema.Literals<readonly ['tight', 'loose']>>
}>

Its type

type BlockSpelling = typeof BlockSpelling.Type

How one block was spelled: a list's marker and spacing, a heading's form, a fence, a rule (§146).