supportHtml property
bool
get
supportHtml
Indicates that this markdown string can contain raw html tags. Defaults to false
.
When supportHtml
is false, the markdown renderer will strip out any raw html tags
that appear in the markdown text. This means you can only use markdown syntax for rendering.
When supportHtml
is true, the markdown render will also allow a safe subset of html tags
and attributes to be rendered. See https://github.com/microsoft/vscode/blob/6d2920473c6f13759c978dd89104c4270a83422d/src/vs/base/browser/markdownRenderer.ts#L296
for a list of all supported tags and attributes.
Implementation
_i2.bool get supportHtml => _i5.getProperty(
this,
'supportHtml',
);
set
supportHtml
(bool value)
Implementation
set supportHtml(_i2.bool value) {
_i5.setProperty(
this,
'supportHtml',
value,
);
}