You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
formatters
/
main
/
EscapeMarkdownOptions%3AInterface
Search...
K
formatters
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Functions
blockQuote
bold
channelLink
channelMention
chatInputApplicationCommandMention
codeBlock
escapeBold
escapeBulletedList
escapeCodeBlock
escapeEscape
escapeHeading
escapeInlineCode
escapeItalic
escapeMarkdown
escapeMaskedLink
escapeNumberedList
escapeSpoiler
escapeStrikethrough
escapeUnderline
formatEmoji
hideLinkEmbed
hyperlink
inlineCode
italic
messageLink
quote
roleMention
spoiler
strikethrough
time
underscore
userMention
Enums
Faces
Interfaces
EscapeMarkdownOptions
Types
TimestampStylesString
Variables
TimestampStyles
EscapeMarkdownOptions
export declare interface
EscapeMarkdownOptions
export declare interface
EscapeMarkdownOptions
Summary
The options that affect what will be escaped.
Properties
bold?
:
boolean
Whether to escape bold text.
Default value
true
bulletedList?
:
boolean
Whether to escape bulleted lists.
Default value
false
codeBlock?
:
boolean
Whether to escape code blocks.
Default value
true
codeBlockContent?
:
boolean
Whether to escape text inside code blocks.
Default value
true
escape?
:
boolean
Whether to escape
\
.
Default value
true
heading?
:
boolean
Whether to escape headings.
Default value
false
inlineCode?
:
boolean
Whether to escape inline code.
Default value
true
inlineCodeContent?
:
boolean
Whether to escape text inside inline code.
Default value
true
italic?
:
boolean
Whether to escape italics.
Default value
true
maskedLink?
:
boolean
Whether to escape masked links.
Default value
false
numberedList?
:
boolean
Whether to escape numbered lists.
Default value
false
spoiler?
:
boolean
Whether to escape spoilers.
Default value
true
strikethrough?
:
boolean
Whether to escape strikethroughs.
Default value
true
underline?
:
boolean
Whether to escape underlines.
Default value
true