Skip to content

markdown-tables.ts#

View Markdown

Source

1 documented symbol. Read the signatures first, then expand each item for parameters, return types, and examples.

1 symbols 1 functions 2 parameters 1 returns

Reference#

fnenhanceMarkdownTables(root?: ParentNode, options: MarkdownTableEnhancementOptions = {}): numberMakes overflowing Markdown tables keyboard-scrollable without wrapping or repla…

Makes overflowing Markdown tables keyboard-scrollable without wrapping or replacing the native <table> element.

Run this after rendering Markdown and again after layout-changing updates. Narrow tables stay out of the tab order when overflow can be measured.

Signature

export function enhanceMarkdownTables(root?: ParentNode, options: MarkdownTableEnhancementOptions = {}): number

View source

Parameters

  • root ParentNode

    optional

  • options MarkdownTableEnhancementOptions

    optional · default: {}

Returns

number