Skip to content

IMarkdownString

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/IMarkdownString.html

ts
interface IMarkdownString {
    baseUri?: UriComponents;
    isTrusted?: boolean | MarkdownStringTrustedOptions;
    supportHtml?: boolean;
    supportThemeIcons?: boolean;
    uris?: {
        [href: string]: UriComponents;
    };
    value: string;
}

baseUri

isTrusted

supportHtml

  • 类型:boolean

supportThemeIcons

  • 类型:boolean

uris

  • 类型:{ [href: string]: UriComponents; }
  • 参数:[href: string]: UriComponents

value

  • 类型:string