Skip to content

renderMarkdownToHtml

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/packages/markdown-engine/src/lib/render.ts

Render a Markdown string to an HTML fragment (no / wrapper). Returns an empty string for empty input.

Signature

ts
async function renderMarkdownToHtml(markdown: string): Promise<string>

Parameters

NameType
markdownstring

Returns: Promise<string>

Was this page helpful?

Download as PDF