> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Markdown

> A UI component that renders Markdown-formatted content on a screen.

> [!NOTE]
>
> This is the standalone Markdown UI component. For Markdown rendering inside chat messages, see the [Chat](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/ui-component-types/chat.md) component.

## Overview

Use a Markdown component when you need to display rich text that may include structure (headings, lists, tables) or content authored in Markdown by an AI model, a CMS entry, or a process data field. Common use cases:

* Surfacing an AI-generated explanation alongside a form
* Embedding Terms & Conditions or Help text written in Markdown
* Rendering a step-by-step instruction list pulled from CMS
* Showing a tabular summary returned by a workflow

The Markdown component is read-only. Write the Markdown in **Content**: it can be static text, and it can include `${key}` placeholders that are replaced with values from process data at runtime.

## Properties

Configure the component in the **Settings** tab:

| Property | Description | Default |
| - | - | - |
| **Content** | The Markdown source, in the **Properties** section. Static text, with optional `${key}` placeholders that resolve from process data. The field is marked as required: leaving it empty shows an error, but the component still saves. | `Text` |
| **Formatting** | **Auto** or **Manual**. **Manual** shows the number, date and currency formatting options. | **Auto** |
| **Hide condition** | In the **Expressions** section, select **+** and add **Hide**. The expression, shown as **Hide condition**, hides the component when truthy. | None |
| **Permissions** | Hides the component based on the user's permissions. The Markdown component has no disabled state. | None |
| **Accessibility label** | Text that assistive technologies read for the component, in the **Accessibility** section. | None |
| **Mark as decorative** | Makes assistive technologies ignore the component. | Off |
| **Data test ID** | Test identifier for automated tests, in the **Advanced** section. | None |
| **Platform overrides** | Override **Content** or **Hide** for one platform in the **Web overrides**, **iOS overrides** or **Android overrides** section. In a UI Flow, the overrides sections are shown only when the device type is Mobile. | None |

### Styles tab

The **Styles** tab has **Sizing** (including overflow scrolling), **Spacing** and, when the component sits inside a grid container, **Grid child**. In **Theme overrides**, override **Font**, **Text color** or **Link color** for this instance. Heading and table styles come from the theme.

## Supported Markdown

On Web, the component renders standard CommonMark syntax: headings (`#` to `######`), bold/italic, links, ordered and unordered lists, fenced code blocks, inline code, blockquotes, and tables (GFM-style).

* A single line break in the source starts a new line.
* Links open in a new tab.
* The rendered HTML is filtered against an allowlist of tags: `h1` to `h6`, `p`, `div`, `blockquote`, `pre`, `br`, `hr`, `ul`, `ol`, `li`, `a`, `strong`, `b`, `em`, `i`, `code`, `span`, `del`, `s`, `sub`, `sup`, `table`, `thead`, `tbody`, `tfoot`, `tr`, `th`, `td`, `input` and `img`. Other tags and attributes are removed.
* Links and images keep only `http`, `https` and `mailto` addresses.

On mobile, the component formats a smaller set:

* **iOS**: headings and bulleted list items (`-`, `*` or `+`) are formatted. Every other line is interpreted as inline-only Markdown, so block syntax such as tables and blockquotes is not formatted.
* **Android**: headings, bold, italic, strikethrough, links and bulleted lists are formatted. Tables, blockquotes, horizontal rules and task list items are shown as their source text, and HTML other than `<br>` is ignored.

## Theme configuration

The theme has one **Markdown** entry with three sections: **Common Properties** and **Headings** for the body, and **Table** for tables embedded inside Markdown content. The **Table** section is available only for Web.

### Markdown body defaults

| Token | Default | Description |
| - | - | - |
| `font` | `typography@Paragraph/P1#regular` | Base body typography. |
| `color` | `color@shades#900` | Body text colour. |
| `linkColor` | `color@primary#500` | Inline link colour. |
| `heading1Font` | `typography@Heading/H5#medium` | H1 typography. |
| `heading2Font` | `typography@Heading/H6#medium` | H2 typography. |
| `heading3Font` | `typography@Paragraph/P3#medium` | H3 typography. |
| `heading4Font` | `typography@Paragraph/P2#medium` | H4 typography. |
| `heading5Font` | `typography@Paragraph/P2#medium` | H5 typography. |
| `heading6Font` | `typography@Paragraph/P2#medium` | H6 typography. |

### Markdown table defaults

| Token | Default | Description |
| - | - | - |
| `borderWidth` | `1px` | Outer table border width. |
| `borderRadius` | `4px` | Outer table corner radius. |
| `borderColor` | `color@neutrals#200` | Outer table border colour. |
| `dividerColor` | `color@neutrals#200` | Row and column divider colour. |
| `backgroundColor` | `color@shades#0` | Cell background. |
| `font` | `typography@Paragraph/P1#regular` | Cell typography. |
| `color` | `color@shades#900` | Cell text colour. |
| `headerFont` | `typography@Paragraph/P1#medium` | Header row typography. |
| `headerColor` | `color@shades#900` | Header row text colour. |
| `headerBackgroundColor` | `color@neutrals#100` | Header row background. |

To change these defaults for every Markdown component, edit **Markdown** in the theme's component list in the Designer. Table tokens are in its **Table** section, on Web.

## Related resources

> [card] [UI Designer overview](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/ui-designer.md)
>
> Compose screens in the UI Designer.

> [card] [Typography](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/ui-component-types/typography.md)
>
> Configure typography styles for text components.


## Related topics

- [Typography](https://docs.flowx.ai/6.x/docs/building-blocks/ui-designer/ui-component-types/typography.md)
- [Chat component](https://docs.flowx.ai/6.x/ai-platform/chat-component.md)
- [FlowX.AI 5.6.0 Release Notes](https://docs.flowx.ai/release-notes/v5.x/v5.6.0-march-2026/v5.6.0-march-2026.md)
- [Using FlowX docs with AI assistants](https://docs.flowx.ai/6.x/docs/getting-started/using-flowx-docs-with-ai.md)
- [Extract Data from File](https://docs.flowx.ai/6.x/ai-platform/agent-builder/extract-data-from-file.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.