Block for displaying text in Markdown.
The contents of the block are written to the content
property in a single line. To insert line breaks, use \n
. Straight quotation marks ("
) must be escaped like this: \"
.
Examples of Markdown syntax:
# Level 1 header## Level 2 header (and so on to level 6)**Bold*** Italics*~~Crossed out text~~+ Bulleted list + List sublevels are separated by two additional spaces- The list can start with any of these characters: + - *1. Numbered list2. The second item in the list[Text with link] (https://example.com/)<Image imageId="https://guides.github.com/features/mastering-markdown/" alt="Image] (https://example.com/image.png)
You can find documentation for the basic Markdown syntax in this article.
View exampleNote that the view.markdown
component is resource-intensive and might overload weak Toloker devices. Do not use this component to display plain text. If you need to display text without formatting, use the view.text component. If you need to insert a link, use view.link, and for an image use view.image.
Links with Markdown are appended with target="_blank"
(the link opens in a new tab), as well as rel="noopener noreferrer"
.
Name | Type | Description |
---|---|---|
type * | "view.markdown" | Set component type. |
label | string | Label above the component. |
content | string | Text in Markdown. |
hint | string | Hint text. |
validation | condition | Validation based on condition. |
Last updated: March 29, 2023