Markdown
tile/markdown
Shows Markdown-formatted text content, including headings, lists, links, images, code blocks, tables, and standard inline formatting.
| Name | Required | Lightning Type | Default | Description |
|---|---|---|---|---|
| source | Yes | lightning__markdownTextType | A raw Markdown text string. Use Markdown syntax for headings, links, lists, code blocks, tables, and standard formatting. |
Render a block of markdown-formatted text — headings, emphasis, links, images, lists, code blocks, blockquotes, and GFM tables — from a single source string. Use markdown when you have rich, formatted text to display.
For preformatted source code or a fenced code block, use tile/code instead. For plain, unformatted text, use tile/text instead.
Embed newlines as \n in the source string. Extra whitespace is removed from the formatted text.
To create a table, use standard CommonMark syntax or GitHub-flavored markdown.
Consider these guidelines when working with markdown.
- Task lists (
- [ ]) aren’t supported. - Don’t use inline HTML because some tags are removed from the output.
Note any limitations that apply to this component.
No known limitations for tile/markdown in Slackbot.
No known limitations for tile/markdown in ChatGPT.
No known limitations for tile/markdown in Agentforce.