MarkdownString
Human-readable text that supports formatting via the markdown syntax.
Rendering of theme icons via the $(<name>)
-syntax is supported when the {@linkcode supportThemeIcons} is set to true
.
Rendering of embedded html is supported when {@linkcode supportHtml} is set to true
.
Properties
Link copied to clipboard
Indicates that this markdown string can contain raw html tags. Defaults to false
.
Link copied to clipboard
Indicates that this markdown string can contain ThemeIcons, e.g. $(zap)
.
Functions
Link copied to clipboard
Appends the given string as codeblock using the provided language.
Link copied to clipboard
Appends the given string 'as is' to this markdown string. When {@linkcode MarkdownString.supportThemeIcons supportThemeIcons} is true
, ThemeIcons in the value
will be iconified.
Link copied to clipboard
Appends and escapes the given string to this markdown string.