API — Function: renderMarkdownSync()

Function: renderMarkdownSync()

function renderMarkdownSync(md, opts?): Result<string, Diagnostic[]>;

Defined in: integrations/markdown.ts:77

Synchronous version of renderMarkdown. Caller MUST have awaited warmupSyncRender() (or any async render) first. Shares scan + splice + error formatting with the async path.

Parameters

md

string

opts?

AllOpts = {}

Returns

Result<string, Diagnostic[]>