hashbrown

exposeMarkdown

Exposes a markdown renderer component to the LLM while deriving parser completion state from s.node(...).

The LLM controls only the children prop. All other renderer behavior is developer-controlled.

API

export declare function exposeMarkdown(
  config?:  ExposeMarkdownConfig ,
):  ExposedComponent <
   ComponentType < ExposedMarkdownComponentProps >
>;
exposeMarkdown
ExposedComponent<ComponentType<ExposedMarkdownComponentProps>>
@optionalconfig:
ExposeMarkdownConfig
@returns
ExposedComponent<ComponentType<ExposedMarkdownComponentProps>>