escapeMarkdown

export declare function escapeMarkdown(text: string, options?: EscapeMarkdownOptions): string;
export declare function escapeMarkdown(text: string, options?: EscapeMarkdownOptions): string;
Escapes any Discord-flavored markdown in a string.
NameTypeOptionalDescription
textstringNo
Content to escape
optionsEscapeMarkdownOptionsYes
Options for escaping the markdown