UNPKG

typedoc-plugin-markdown

Version:

A TypeDoc plugin that generates TypeScript API documentation as Markdown.

10 lines (9 loc) • 421 B
/** * - Replace new lines with spaces * - Replaces code blocks with single backticks * - Replaces multiple spaces with single spaces * - Escapes pipes not already escaped, which would otherwise end the cell. * GFM splits rows before parsing code spans, so this applies inside code * spans too; renderers drop the backslash and show a plain `|`. */ export declare function formatTableCell(str: string): string;