escapeMarkdown
export declare function escapeMarkdown(text: string, options?: EscapeMarkdownOptions): string;
export declare function escapeMarkdown(text: string, options?: EscapeMarkdownOptions): string;
Escapes any Discord-flavour markdown in a string.
Name | Type | Optional | Description |
---|---|---|---|
text | string | No | Content to escape |
options | EscapeMarkdownOptions | Yes | Options for escaping the markdown |