Skip to content

MarkdownSurfaceContext

API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.

Defined in: markdown-extension-registry.ts:6

Identifies the Markdown host that is rendering or editing a document.

optional context?: unknown

Defined in: markdown-extension-registry.ts:10

Optional opaque context owned by the surface consumer.


id: string

Defined in: markdown-extension-registry.ts:8

Stable surface identifier such as workspace or tasks-list.