Skip to content

renderFrameAsMarkdown

renderFrameAsMarkdown(frame, options?): string

Defined in: render-frame-as-markdown.ts:30

Renders a DataFrame as a GFM (GitHub-Flavored Markdown) pipe table.

Column alignment is derived from each field’s measurement scale rather than declared: a quantity reads right-aligned, a category left. The frame’s meta.title becomes a heading and meta.footnotes follow the table.

DataFrame

MarkdownTableOptions

string