Text

This component displays plain-text or a subset of markdown content.

Supported markdown syntax:

NameMarkdownOutput
code`code`code
em

_em_

*em*

em

em

link

www.atlassian.com

[Atlassian](www.atlassian.com)

www.atlassian.com

Atlassian

strike~~strike~~strike
strong

**strong**

__strong__

strong

strong

Usage

1
import ForgeUI, { Text } from '@forge/ui';

Props

NameTypeRequiredDescription
contentstringYesThe text to display.
format'markdown' | 'plaintext'The type of text content. Defaults to ‘markdown’.

Example

A text component displaying markdown content.

1
<Text content="Some **bold text**" />

Preview

Screenshot of what the rendered button should look like