Rich text / foldkit-richtext-markdown

SourceSession

const · packages/richtext-markdown/src/source.ts:20

const SourceSession: Schema.Struct<{ readonly printed: Schema.String; readonly draft: Schema.String; readonly unprintable: Schema.$Array<Schema.Struct<{ readonly code: Schema.Literals<readonly ["UnsupportedNode", "UnsupportedMark", "UnsafeUrl"]>; readonly detail: Schema.String; readonly node: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "foldkit-richtext/NodeId">>; }>>; readonly style: Schema.Struct<{ readonly blocks: Schema.optionalKey<Schema.$Record<Schema.String, 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"]>>; }>>>; readonly bullet: Schema.optionalKey<Schema.Literals<readonly ["-", "*", "+"]>>; readonly delimiter: Schema.optionalKey<Schema.Literals<readonly [".", ")"]>>; readonly fence: Schema.optionalKey<Schema.Literals<readonly ["`", "~"]>>; readonly rule: Schema.optionalKey<Schema.Literals<readonly ["-", "*", "_"]>>; readonly heading: Schema.optionalKey<Schema.Literals<readonly ["atx", "setext"]>>; readonly spacing: Schema.optionalKey<Schema.Literals<readonly ["tight", "loose"]>>; readonly emphasis: Schema.optionalKey<Schema.Literals<readonly ["*", "_"]>>; readonly strong: Schema.optionalKey<Schem …;

Its type

type SourceSession = typeof SourceSession.Type

In the guides