view.markdown

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 list
2. 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 example

Note 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".

Component properties

NameTypeDescription
type*"view.markdown"Set component type.
labelstringLabel above the component.
contentstringText in Markdown.
hintstringHint text.
validationconditionValidation based on condition.
Contact support

Last updated: March 29, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary