BlockMarkdownContext
type BlockMarkdownContext = { depth: number; serializeInline: (spans) => string; spans: TextSpan[];};Defined in: blocks.ts:189
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
depth | number | Nesting depth (0 = top-level). | blocks.ts:195 |
serializeInline | (spans) => string | Render an inline span array (with marks) as inline markdown text. | blocks.ts:191 |
spans | TextSpan[] | The block’s raw text spans (with marks intact). Empty for atomic / non-text blocks. | blocks.ts:193 |