<link rel="stylesheet" href="/_merged_assets/_static/noscript.css">
Atom Community Logo Atom Community API Getting Started Toggle darkmode

Markdown Service

API

MarkdownService

the markdown service object

Methods

render

renders markdown to safe HTML asynchronously

Parameters

markdownText
string

the markdown text to render

scopeName
string

scope name used for highlighting the code

domPurifyConfig
DOMPurifyConfig

Returns

Promise<string>

DOMPurifyConfig