Skip to content

EscapeMarkdownOptions

typedef · Source

Options used to escape markdown. Type: Object

Properties

codeBlock

optional

codeBlock: boolean

Whether to escape code blocks

Default: true

inlineCode

optional

inlineCode: boolean

Whether to escape inline code

Default: true

bold

optional

bold: boolean

Whether to escape bolds

Default: true

italic

optional

italic: boolean

Whether to escape italics

Default: true

underline

optional

underline: boolean

Whether to escape underlines

Default: true

strikethrough

optional

strikethrough: boolean

Whether to escape strikethroughs

Default: true

spoiler

optional

spoiler: boolean

Whether to escape spoilers

Default: true

codeBlockContent

optional

codeBlockContent: boolean

Whether to escape text inside code blocks

Default: true

inlineCodeContent

optional

inlineCodeContent: boolean

Whether to escape text inside inline code

Default: true

escape

optional

escape: boolean

Whether to escape escape characters

Default: true

heading

optional

heading: boolean

Whether to escape headings

Default: false

bulletedList

optional

bulletedList: boolean

Whether to escape bulleted lists

Default: false

numberedList

optional

numberedList: boolean

Whether to escape numbered lists

Default: false

optional

maskedLink: boolean

Whether to escape masked links

Default: false

Unofficial software. Not affiliated with or supported by Discord.