Format text with Markdown

Use Markdown in Metabase to format text, add headings and lists, and insert links and images. In Metabase, you can use Markdown in:

  • Dashboard header and text cards
  • Documents
  • Descriptions (for entities like questions and dashboards)

Metabase uses GitHub Flavored Markdown.

Headings

To create headings, use number signs (#). The more number signs you use, the smaller the heading. Add a space after the number signs.

# Heading 1
## Heading 2
### Heading 3

This renders as:

Three headings rendered in a Metabase text card

Metabase supports six heading levels, from # (largest) to ###### (smallest).

Markdown headings aren’t the same as dashboard heading cards. Headings here are text you enlarge with #. Heading cards are a separate dashboard feature.

Bold and italics

To make your text bold, wrap it in two asterisks. To make your text italic, wrap it in one asterisk. To make your text bold and italic, wrap it in three asterisks.

**This text is bold.**
*This text is italic.*
***This text is bold and italic.***

This renders as:

This text is bold. This text is italic. This text is bold and italic.

Lists

To create an unordered list, start each line with a dash (-) and a space.

- Franz Kafka
- Jorge Luis Borges
- Ursula K. Le Guin

To create a numbered list, start each line with a number, followed by a period and a space.

1. First step
2. Second step
3. Third step

To nest a bulleted item under another bulleted item, indent the nested item with two spaces.

- Fruit
  - Apple
  - Orange
- Vegetable

To add a link, put the link text in square brackets, followed by the URL in parentheses:

[the internet's finest webpage](https://www.example.com)

This renders as a clickable link: the internet’s finest webpage.

Markdown links aren’t the same as dashboard link cards, which are a separate dashboard feature for linking to other items in your Metabase.

Images and GIFs

Cat GIF

To add an image, type an exclamation point (!), then a description of the image in square brackets, then the image URL in parentheses. That description is called alt text. It appears if the image can’t load, and screen readers read it aloud.

![A cat wearing a tiny hat](https://example.com/cat-in-hat.png)

You can’t upload an image to Metabase. Link to an image that’s already online, using a URL your Metabase can access. Your admin can also restrict which domains images load from.

The same syntax works for GIFs. Just use the URL of a GIF instead of an image.

Code

To format words as inline code, wrap them in single backticks.

Filter the table by the `status` column.

To format a block of code, wrap it in three backticks on the lines above and below the code.

```
SELECT *
FROM orders
WHERE status = 'paid'
```

Blockquotes

To create a blockquote, start the line with a greater than sign (>) and a space.

> Every number is fine until someone asks how it was calculated.

Horizontal lines

To separate sections of text with a horizontal line, put three dashes (---) on their own line. Add a blank line before and after the dashes.

Section one.

---

Section two.

Markdown in documents

In a document, Metabase formats your text as you type instead of showing the raw Markdown. If something doesn’t format the way you expect, try retyping the last character or two to trigger the conversion.

  • Type / to open a menu of formatting options.
  • When you paste a URL, Metabase turns it into a clickable link automatically.
  • To add an image, start the image on its own line. Type the closing parenthesis instead of pasting it.

Further reading

Read docs for other versions of Metabase.

Was this helpful?

Thanks for your feedback!
Want to improve these docs? Propose a change.