Preview environment

interface EscapeMarkdownOptions

export interface EscapeMarkdownOptions

The options that affect what will be escaped.

optional
bold? : boolean = true

Whether to escape bold text.

optional
bulletedList? : boolean = false

Whether to escape bulleted lists.

optional
codeBlock? : boolean = true

Whether to escape code blocks.

optional
codeBlockContent? : boolean = true

Whether to escape text inside code blocks.

optional
escape? : boolean = true

Whether to escape \.

optional
heading? : boolean = false

Whether to escape headings.

optional
inlineCode? : boolean = true

Whether to escape inline code.

optional
inlineCodeContent? : boolean = true

Whether to escape text inside inline code.

optional
italic? : boolean = true

Whether to escape italics.

Whether to escape masked links.

optional
numberedList? : boolean = false

Whether to escape numbered lists.

optional
spoiler? : boolean = true

Whether to escape spoilers.

optional
strikethrough? : boolean = true

Whether to escape strikethroughs.

optional
underline? : boolean = true

Whether to escape underlines.