Skip to content

renderMarkDoc

renderMarkDoc(input): Promise<string>

Render a Markdown string into HTML using the Markdoc renderer

Markdoc is a powerful, flexible, Markdown-based authoring framework. Built by Stripe.

Parameters

input: string

The Markdown string to render

Returns

Promise<string>

The rendered HTML string

See

https://markdoc.dev/ for more info about markdoc.

Defined in

packages/studiocms_renderers/src/lib/markdoc/index.ts:24