Skip to content

TurndownService.escape method

TurndownService › escape

Unofficial

Escape a string for use in Markdown.

Signature:

escape(str: string): string

Parameters:

Parameter Type Description
str string The string to escape.

Returns: stringThe escaped string.