If you want to insert some formatted text, table, or list, use the view.markdown component. This section shows how to insert a Markdown text block into the Toloka task interface.
The view.markdown component is resource-intensive and may overload low-end Toloker devices.
Don't use this component to display plain text. If you need to display text without formatting, use the view.text component. Use view.link to insert a link and view.image to insert an image.
The block content is specified in the content
property:
{ "type" : "view.markdown", "content": "_Italic text_"}
Since Template Builder is JSON-based, there are some restrictions for inserting Markdown code into the content
property.
content
property has a single-line format. Make sure to replace all the line breaks with \n
."
) with backslashes: \"
.{ "type" : "view.markdown", "content": "# Header \n **Formatted text with \"double quotes\"**"}
Last updated: August 2, 2023