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
textstringNoContent to escape
optionsEscapeMarkdownOptionsYesOptions for escaping the markdown