/
docs
/
packages
/
formatters
/
main
/
escapeCodeBlock%3AFunction
Search...
K
formatters
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Functions
applicationDirectory
blockQuote
bold
channelLink
channelMention
chatInputApplicationCommandMention
codeBlock
escapeBold
escapeBulletedList
escapeCodeBlock
escapeEscape
escapeHeading
escapeInlineCode
escapeItalic
escapeMarkdown
escapeMaskedLink
escapeNumberedList
escapeSpoiler
escapeStrikethrough
escapeUnderline
formatEmoji
heading
hideLinkEmbed
hyperlink
inlineCode
italic
linkedRoleMention
messageLink
orderedList
quote
roleMention
spoiler
strikethrough
subtext
time
underline
underscore
unorderedList
userMention
Enums
Faces
GuildNavigationMentions
HeadingLevel
Interfaces
EscapeMarkdownOptions
FormatEmojiOptions
Types
RecursiveArray
TimestampStylesString
Variables
TimestampStyles
version
escapeCodeBlock
export declare function
escapeCodeBlock
(
text
:
string
)
:
string
;
export declare function
escapeCodeBlock
(text
:
string
)
:
string
;
Summary
Escapes code block markdown in a string.
Parameters
Name
Type
Optional
Description
text
string
No
Content to escape