---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/charts/editor/widgets/markdown
  - ru/charts/editor/widgets/markdown
  - href: en/charts/editor/widgets/markdown.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/charts/editor/widgets/markdown.html
title: Markdown in Editor
description: In this article, you will learn about the Advanced chart widget.
vcsPath: en/charts/editor/widgets/markdown.md
---

# Markdown

Visualization for rendering Markdown, a simplified markup language.

It supports [GitHub Flavored Markdown (GFM)](https://github.github.com/gfm/), except for inline raw HTML, certain plugins, and [Yandex Flavored Markdown](https://diplodoc.com/docs/ru/index-yfm) features.

Сharts are rendered using the [@diplodoc/transform](https://www.npmjs.com/package/@diplodoc/transform) library. For more, see [this Diplodoc guide](https://diplodoc.com/docs/ru/tools/transform/).

## Available markup components {#about-markdown}

- [Structure on the Prepare tab](#prepare)
- [Markdown markup](#about-markdown)
    - [Headers](#headers)
    - [Styles](#text-styles)
    - [Text color](#text-color)
    - [Lists](#lists)
        - [Unordered list](#unordered-list)
        - [Ordered list](#ordered-list)
    - [Tables](#tables)
    - [Cuts](#cuts)
    - [Tabs](#tabs)
    - [Accordion](#accordion)
    - [Links](#links)
    - [Inserting code](#code)
    - [Images](#images)
    - [Emoji](#emoji)
    - [Mermaid diagrams](#mermaid)
    - [Tooltips](#term)

## Structure on the Prepare tab {#prepare}

Executing the **Prepare** tab should result in exporting the Markdown rendering data.

### Available methods {#available-methods}

* **`Editor.getParams()`**: Returns an object with normalized parameters.

* **`Editor.getLoadedData()`**: Returns an object with data requested on the **Sources** tab.



### Example {#example}

```js
// generating text

const inline = 'To insert inline code, wrap it in backticks'
                + '`<html class="ie no-js">`.';

const text = `
# H1 heading
## H2 heading
### H3 heading
#### H4 heading

${inline}
`;

// exporting the data for rendering
module.exports = {
    markdown: text
};
```

## Markdown markup {#about-markdown}

### Headings {#headers}

To create a heading, use the `#` sign, for example:

```markdown
# H1 heading
## H2 heading
### H3 heading
#### H4 heading
```

Use h1 as the page heading. For a section, use the h2 heading; for subsections, use the appropriate lower level headings. Make sure you maintain the nesting structure of headings.

### Styles {#text-styles}

To make text **bold**, wrap it in double asterisks:

```markdown
This text is **bold**.
```

To make text _italic_, wrap it in underscores:

```markdown
This text is _italic_.
```

To make text _**bold and italic**_, use both double asterisks and underscores:

```markdown
This text is _**bold and italic**_.
This text is **_bold and italic_**.
```

To apply ~~strikethrough~~ formatting to text, wrap it in double tildes (~~):

```markdown
This text is ~~strikethrough~~.
```

To make text <u>underlined</u>, wrap it in double pluses (++):

```markdown
This text is ++underlined++.
```

To create a <sub>subscript</sub>, wrap the text in tilde signs (~):

```markdown
This text is in ~subscript~.
```

To create a ^superscript^, wrap the text in `^` signs:

```markdown
This text is in ^superscript^.
```

To make text <samp>monospaced</samp>, wrap it in `##` signs:

```markdown
This text is ##monospaced##.
```

To <mark>highlight</mark> text, wrap it in double equal signs (==):

```markdown
This text is ==highlighted==.
```

### Text color {#text-color}

You can set the text color this way: `{color}(text)`. The following colors are supported:

* gray
* yellow
* orange
* red
* green
* blue
* violet

For example, the following markup:

```markdown
This text is {green}green.
```

will be displayed as:

This text is <font color=green>green</font>.

### Lists {#lists}

#### Unordered list {#unordered-list}

You can format an unordered (bulleted) list using an asterisk (*), hyphen (-), or plus sign (+). For example, the following Markdown markup:

```markdown
- Item 1
- Item 2
- Item 3
```

will be displayed as:

- Item 1
- Item 2
- Item 3

To make a list nested in another list, add an indent for child list items. Markup:

```markdown
- Item 1
  - Item A
  - Item B
- Item 2
```

will be displayed as:

- Item 1
  - Item A
  - Item B
- Item 2

#### Ordered list {#ordered-list}

You can format an ordered (step) list using corresponding numbers. Markup:

```
1. Item 1
1. Item 2
1. Item 3
```

will be displayed as:

1. Item 1
2. Item 2
3. Item 3

To make a list nested in another list, add an indent for child list items. Here is an example:

```
1. Item 1
    1. Nested item
    1. Nested item
1. Item 2
```

### Tables {#tables}

Tables are not included in the Markdown basic specification, but they are supported by GFM. You can create tables using the pipe character (`|`) and a hyphen (`-`). With hyphens, you can create a heading for each column. Pipe signs separate columns. To make sure a table is displayed properly, add an empty line before it.

Markup:

```markdown
Left-aligned column | Right-aligned column | Center-aligned column
:--- | ---: | :---:
Text | Text | Text
```

will be displayed as:

Left-aligned column | Right-aligned column | Center-aligned column
:--- | ---: | :---:
Text | Text | Text

To add a line break or a more complex element, e.g., a list or code block, to a table cell, use an alternative markup:
```
#|
|| **Heading1** | **Heading2** ||
|| Text | Text ||
|#
```

Example of a markup with line breaks and a list:
```
#|
||Text
in two rows
|
- Item 1
- Item 2
- Item 3
- Item 4||
|#
```
For more information, see [this YFM guide](https://ydocs.tech/ru/syntax/tables/multiline).


### Cuts {#cuts}

Use `cuts` to hide certain content, e.g., additional information or large blocks of code.

Markup:

```markdown

{% cut "Cut title" %}

Content displayed on click.

{% endcut %}

```

will be displayed as:

{% cut "Cut title" %}

Content displayed on click.

{% endcut %}

### Tabs {#tabs}

Use tabs for mutually exclusive sections, e.g., to separate instructions for different operating systems.

Markup:

```markdown

{% list tabs %}

- Tab 1 name

  Tab 1 text

  * You can use lists.
  * And **other** markup.

- Tab 2 name

  Tab 2 text

{% endlist %}

```

will be displayed as:

{% list tabs %}

- Tab 1 name

  Tab 1 text

  * You can use lists.
  * And **other** markup.

- Tab 2 name

  Tab 2 text

{% endlist %}

If you want an item to be expanded by default, add the `{selected}` attribute to it:

Markup:

```markdown

{% list tabs %}

- Tab 1 name

  Tab 1 text

- Tab 2 name {selected}

  This item will be expanded by default.

- Tab 3 name

  Tab 3 text

{% endlist %}

```

will be displayed as:

{% list tabs %}

- Tab 1 name

  Tab 1 text

- Tab 2 name {selected}

  This item will be expanded by default.

- Tab 3 name

  Tab 3 text

{% endlist %}

### Accordion {#accordion}

An accordion allows you to collapse or expand content, which is helpful when you need to organize large amounts of information.

Markup:

```markdown
{% list tabs accordion %}

- Item 1 name

  Item 1 content

- Item 2 name

  Item 2 content
 
- Item 3 name

  Item 3 content

{% endlist %}
```

will be displayed as:

{% list tabs accordion %}

- Item 1 name

  Item 1 content

- Item 2 name

  Item 2 content
 
- Item 3 name

  Item 3 content

{% endlist %}

If you want an item to be expanded by default, add the {selected} attribute to it.

Markup:

```markdown
{% list tabs accordion %}

- Item 1 name

  Item 1 content

- Item 2 name {selected}

  This item will be expanded by default.
 
- Item 3 name

  Item 3 content

{% endlist %}
```

will be displayed as:

{% list tabs accordion %}

- Item 1 name

  Item 1 content

- Item 2 name {selected}

  This item will be expanded by default.
 
- Item 3 name

  Item 3 content

{% endlist %}


### Links {#links}

The Markdown syntax for an embedded link consists of the `[link text] and `(URL)` :

`[DataLens](https://datalens.ru)`

[DataLens](https://datalens.ru)

### Inserting code {#code}

In Markdown, you can both embed code snippets in a clause and place them between clauses as separate blocks.

```js
const a = 10;
```

This insert is converted to a highlighted code.

```js
const a = 10;
```

`<html class="ie no-js">` inline code.

```markdown
To insert inline code, wrap it in backticks: `<html class="ie no-js">`.
```

### Line break

To add a line break in a paragraph, use two spaces (⋅⋅) at the end of a line.

### Tooltips {#term}

Tooltips allow you to display term definitions when clicking a term. Definitions are linked to their respective terms using a term key. Markup:

```markdown

[*term_key]: Term definition which may include _basic_ markup:
* Lists
* Links
* Images, etc.


[Term](*term_key) used in the text.

```

will be displayed as:

`[Term](*term_key)` used in the text.

{% note info %}

Currently, you can only use tooltips in code blocks that do not specify a language.

{% endnote %}

### Images {#images}

```markdown
![alt text](https://yastatic.net/q/logoaas/v2/DataLens.svg "Text for tip on hover" =100x200)
```

![alt text](https://yastatic.net/q/logoaas/v2/DataLens.svg "Text for tip on hover")

### Emoji {#emoji}

To add an emoji, enter a keyword and wrap it in colons (:). You can see the list of available keywords in the visual editor.

For example, the following markup:

```markdown
Emoji :smiley:.
```

will be displayed as:

Emoji 😀.

### Mermaid diagrams {#mermaid}

Mermaid is a library for creating diagrams and flowcharts in a browser using a simple markup language. It allows you to create diagrams using a syntax similar to Markdown.

Mermaid has many built-in templates and functions for creating various types of diagrams, such as flowcharts, graphs, trees, Gantt charts, mind maps, and C4 diagrams.

Using text definitions, you can set a description of the structure, which is then converted into a diagram. Markup:

<pre><code>
```mermaid
graph TD;
    A-->B
    A-->C
    B-->D
    C-->D
```
</code></pre>

will be displayed as:

<!-- diplodoc:svg ![mermaid-flowcharts-example](../../../_assets/datalens/internal/editor/mermaid-flowcharts-example.svg) --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="101" height="202" style="background-color:#fff" viewBox="-0.5 -0.5 101 202"><rect width="100%" height="100%" fill="#fff"/><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="vICzElCYx1xnmrUo5Y4q-1"><path fill="#FFF" stroke="#000" stroke-width="2" d="M37 1h26v33H37z" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject width="100%" height="100%" pointer-events="none" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:24px;height:1px;padding-top:18px;margin-left:38px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">A</div></div></div></foreignObject><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABECAYAAAB+pTAYAAAAAXNSR0IArs4c6QAAA7ZJREFUeF7tmk3IDlEUx39vQpJENmxkYSHFjmKjUDa+SSgpiiKSUpQk5atQsqAo+Vz4tlGirBQlWUhWsmFhIcnCQsxhnrrd7vPMzPOO55xbZ+rdvM+dOd3/757zP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AGUFlMN7BjgAZQWUw3sGOABlBZTDewY4AGUFlMN7BjgAZQWUw3sGOABlBZTDewY4AGUFlMP/AR6yrkXYClwpAAAAAElFTkSuQmCC" width="24" height="17" x="38" y="11.5"/></switch></g><g data-cell-id="vICzElCYx1xnmrUo5Y4q-2"><path fill="#FFF" stroke="#000" stroke-width="2" d="M1 84h24v33H1z" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject width="100%" height="100%" pointer-events="none" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:22px;height:1px;padding-top:101px;margin-left:2px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">B</div></div></div></foreignObject><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABECAYAAAAFgfLUAAAAAXNSR0IArs4c6QAAA0dJREFUeF7tmkvoT0EUxz9/pCwQ2SslC8qCUigrUhZSirzK3iORUAgLj7IhIo88s2HBzmOJUggbKSkLWbEgeSTcU3Nruv1l7u83x/zu6czy/uZ+f3c+93tnzjkzQ3hTJTCkqu7iOGBlEzhgB6xMQFneHeyAlQkoy7uDHbAyAWX50g5eDVzpcYyvgNfAI+A28Az40aOW2m1dBtyEIsD3AzeA72rEWgpbAlwP/QywA/jYkoVKd4uABdRJYDvwRYVaC9FBAyxzqczLH/4xhlHAWGAKsATYDExs3LMGuNqChUrXrgJuwpgBnAXmRD/cA9YB71XIJYpaASzDXQpcDs6uh78IuJvIQqWbJcCTAuDFEaldwEEVcomilgCPBg4BW6Kxy2K3tYoqviXyyN7NEmCBszvEwjWo0wH41+zkEgUtAR4JHKiSjJ3R2PeEa4k48nezBHgCcA5YFmGShe9WfmzpipYAS8RwPYoiPEwLSUVc7ElNNJoWmgWcaMTBa0Oi8Tvdb/l7dtXBI4DxFcCpwCpAYMaZnKfKwSv9lCuHs9tn4Eg1TRwFikUO8YMNmoP7+UbfANuAm8CvfoRy3msJcM3lGnAYeAEUnX/lgSwClnHJVCFp8ingZ05HttUaNMBtoogxwDhgZohGJP6VEmbdBLKkzedLOrnLgJtrydwQqgnwur0FlgOP2zovV38rgGseC4CLwOQI0LGwu1Fkn84aYNnp2Bfm35rxE2Bl2IHOZcxkHWuAZeALgTsNAvOr6w+SqWTsaBHwPOB+g1Gx/TkHnNGtw0lZBOxTRPSmm7WINnHwcIaRovvesLNR//4cWAHIyZ//3qw5eHaoCcdh2gVgQ6lDKJYATwdkD04WuTibk1KmFICKtC4DlmeXVHnaX2rCAvRSdUpoI/CpCF3DxR7hKcda11fz78tScOV/B83BuVhIUrEJeJpLsFcda4AlUjgOyMJW/GRl1x0s5Ug51f4OeBhSYSmyF63/Np1e2sG9fnmduc8BK78qB+yAlQkoy7uDHbAyAWV5d7ADViagLO8OdsDKBJTl3cEOWJmAsrw72AErE1CWdwc7YGUCyvLuYAesTEBZ3h3sgJUJKMu7gx2wMgFleXewA1YmoCz/BxJzs0V9qKaPAAAAAElFTkSuQmCC" width="22" height="17" x="2" y="94.5"/></switch></g><g data-cell-id="vICzElCYx1xnmrUo5Y4q-3"><path fill="#FFF" stroke="#000" stroke-width="2" d="M75 84h25v33H75z" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject width="100%" height="100%" pointer-events="none" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:23px;height:1px;padding-top:101px;margin-left:76px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">C</div></div></div></foreignObject><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABECAYAAAAMalKuAAAAAXNSR0IArs4c6QAABGFJREFUeF7tm0uoVlUUx3+GGiIaNsl0IAhqTRJBVIRS8TFKRDKwF2qIRfgEaeADRcEXaiANDLTUHhKFOmlQpPZQqUHgQElJRZHKiYpBhNHD/Yf9weF4vts53z1n7/3Z2nC5cL991trrd9a39tp7rdsHG0EJ9AmqzZRhwAM7gQE34IEJBFZnHm7AAxMIrM483IAHJhBYXbd4eF/gKeAZYAowAhiXYfUdcAE4BXwJXAf+CcyylLrUgT8OLAKWeMiljAI+B7YDX6cGPlXgAz3kdcCjZSkXzHsXWAvc6IWMWh9NEbjCxVvA3B4sveg8/5r/vB8wtocXcxp4DThfK7kOhaUG/EkXOt4DJubsuQW8D3wEnAX+zH3+EDAUeAFYVhB+vveh6ccOOdX2WErAHwPeAebkrDvsAK8Brpa0WuB3AK/k5n/iPf12STmNTEsF+AAPaWnOyo3+739UtF57gKC/kXtOm+8+4N+K8mqbngpwebVCxqCMZbsBbZpVYbdEDPcyp2VkKp6/XOHbUhvolqAUgA8B9uc2yc+AxTVkFy8BH+SoSa70RRkpAJ/usoyjOe9+zh10jtRARHn8IXcgmpGRdQBQ6Pq9BvmVRcQG3h/YBqzKrPwrQJ75S2Vr7n9A9q0AJgPHgW/cZnq5IMupQVU5EbGBDwM+BKZmlrsVWO9+/i5nQnfNig18kvO+L3LhZD7wcXdhLL/a2MDzm9qvwGz380N5E7prZmzgCh2bMsjOAC9mju3dRbPEalMDrls+ef3NEmvvyikxget0qUsqXSy1hvJvHcmjHr+bfJOpAdddilLETk+XTbKqRXZM4EU5uIWUWl5reyH5TdOANwxc8XtvRofSQeXhlxrWG018zJAio2f6g08LgOXhDbuCKvGfuuP9qIweO2k2CP0RXxCY1+Bdiu5rlH6ec20WJ/zvOw3a1KPo2CFF+lVV35xZZZ23hRJbdP0b7VsUG7iATACOuXqm7q5bQ1UZ3SL2djzsS23LM4JUSH4+VhU/BeCqP77tyl4LM1BO+hPnz70kPt7vEWq9aI09wJvA3V7K7ujxFIBr4bM8mGxNc4sr9m5wdc2/OrIMiroAlAUpnKgQEWWkArxd1V7tESomV/XGdlX7XX7PqCqvtpeTCnAZ1K4JSDVJeXrZvpSRwM6Czi01A+li7Kfa6HUgKCXgWr46Yw8WdE79V+eV7mWeAF71UPP9iGqLW+CbOzvAVN8jqQHXegRdx/0xPZip9uTf/OeDAZXq2g31Ib7uYUdrAGotLjXgrXW1CwtVXU3tF6uBK1UfbGp+qsBlr5rw5e0rgWcrAvjW94erOT/aBlm05pSBZ7+FSvHUSvG066Ad7e9esrm1/QdERY/830zvBg9/oF6GAQ/8Og24AQ9MILA683ADHphAYHXm4QY8MIHA6szDDXhgAoHVmYcb8MAEAqszDzfggQkEVmcebsADEwiszjzcgAcmEFidebgBD0wgsDrzcAMemEBgdebhgYHfA0uxo0UynWu0AAAAAElFTkSuQmCC" width="23" height="17" x="76" y="94.5"/></switch></g><g data-cell-id="vICzElCYx1xnmrUo5Y4q-4"><path fill="#FFF" stroke="#000" stroke-width="2" d="M38 168h25v33H38z" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject width="100%" height="100%" pointer-events="none" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:23px;height:1px;padding-top:185px;margin-left:39px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">D</div></div></div></foreignObject><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABECAYAAAAMalKuAAAAAXNSR0IArs4c6QAAA0ZJREFUeF7tmk2oTkEYx38XJQtRdjYsSCKbu7Cg2EiKYu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BRYy0DOcAAAAASUVORK5CYII=" width="23" height="17" x="39" y="178.5"/></switch></g><g stroke="#000" stroke-miterlimit="10" data-cell-id="vICzElCYx1xnmrUo5Y4q-5"><path fill="none" d="M37 32.35Q13 59 13 75.88" pointer-events="stroke"/><path d="m13 82.88-3.5-7h7Z" pointer-events="all"/></g><g stroke="#000" stroke-miterlimit="10" data-cell-id="vICzElCYx1xnmrUo5Y4q-6"><path fill="none" d="M63 32.06Q87 59 87.17 75.88" pointer-events="stroke"/><path d="m87.23 82.88-3.56-6.96 7-.07Z" pointer-events="all"/></g><g stroke="#000" stroke-miterlimit="10" data-cell-id="vICzElCYx1xnmrUo5Y4q-7"><path fill="none" d="M13 117q0 26 19.58 47.86" pointer-events="stroke"/><path d="m37.25 170.08-7.27-2.88 5.21-4.67Z" pointer-events="all"/></g><g stroke="#000" stroke-miterlimit="10" data-cell-id="vICzElCYx1xnmrUo5Y4q-8"><path fill="none" d="M87.26 117q-.26 26-18.87 46.99" pointer-events="stroke"/><path d="m63.74 169.23 2.03-7.56 5.23 4.64Z" pointer-events="all"/></g></g></g></svg>

See [this Mermaid guide](https://mermaid.js.org/intro/) for details.

{% note info %}

When using Mermaid, keep the following limitations in mind:

* There is no HTML support.
* You cannot use the `class` attribute to style diagrams.
* You cannot use CSS variables for colors.
* Markdown inside diagram sections is only supported in part (e.g., links do not work).

{% endnote %}

## Examples {#examples}


* [Markdown chart with parameterization](https://datalens.yandex/nvkfwnekf9xy9?tab=x6v#Markdown%20чарт%20с%20параметрами)
* [Mermaid diagrams and flowcharts](https://datalens.yandex/nvkfwnekf9xy9?tab=x6v#Markdown%20чарт%20c%20Mermaid-диаграммами)

