Skip to content

escapeMarkdown

Escape text for a markdown table cell.

Import:

import { escapeMarkdown } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-text-utils';

Signature:

function escapeMarkdown(text: string): string

Parameters:

Parameter Type Description
text string The text to escape.

Returns: string — The escaped text.