Home/Jira formatting reference
Jira text formatting
Italic text in Jira: _emphasis_ in wiki, Markdown, ADF
Underscores around a word give italic text in Jira wiki markup. The wiki help calls it emphasis, and Jira Cloud stores it as the ADF em mark. It is the one text effect that can be typed as Markdown in the new editor too, per the Atlassian documentation.
Wiki markup
_emphasis_
Markdown shortcuts in the editor
Per the Atlassian documentation, not tested.
| Type | What happens |
|---|---|
*text* | Converts to italics as you type, per the Atlassian documentation. |
_text_ | Also converts to italics as you type, per the Atlassian documentation. |
Stored as ADF (REST API v3)
The ADF document Jira Cloud stores for _emphasis_:
{
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "emphasis",
"marks": [
{
"type": "em"
}
]
}
]
}
]
}
Examples
Wiki markup (API v2)
_emphasis_The basic form, rendered as an em element.
Rendered by Jira (HTML)
<p><em>emphasis</em></p>Back to wiki after the round trip
_emphasis_Sent to Jira Cloud on .
Wiki markup (API v2)
snake_case_name and file_name_hereIdentifiers with underscores inside the word. Nothing is italicised, so code-style names are safe in plain text.
Rendered by Jira (HTML)
<p>snake_case_name and file_name_here</p>Back to wiki after the round trip
snake_case_name and file_name_hereSent to Jira Cloud on .
Wiki markup (API v2)
__double underscore__The Markdown bold form sent as wiki. The inner pair turns italic and one underscore is left on each side.
Rendered by Jira (HTML)
<p>_<em>double underscore</em>_</p>Back to wiki after the round trip
__double underscore__Sent to Jira Cloud on .
Wiki markup (API v2)
*_bold italic_*Italic inside bold, the most common combination.
Rendered by Jira (HTML)
<p><b><em>bold italic</em></b></p>Back to wiki after the round trip
*_bold italic_*Sent to Jira Cloud on .
Wiki markup (API v2)
_*italic bold*_The same two effects in the opposite order. Jira keeps both but normalises the order when it writes wiki back.
Rendered by Jira (HTML)
<p><em><b>italic bold</b></em></p>Back to wiki after the round trip
*_italic bold_*Sent to Jira Cloud on .
Wiki markup (API v2)
\_not italic\_Backslashes before the underscores keep them as plain characters.
Rendered by Jira (HTML)
<p>_not italic_</p>Back to wiki after the round trip
_not italic_Sent to Jira Cloud on .
What changes in conversion
- A plain italic word round-trips unchanged: ADF text node with an em mark, and v2 returns the same underscores.
- Mark order is not kept.
_*italic bold*_comes back from ADF as*_italic bold_*, because the stored marks are strong and em in a fixed order. - Double underscores give a literal underscore, an italic text node and another literal underscore in ADF. The Markdown meaning of
__text__(bold) is not applied.
Pitfalls
- Underscores inside a word, such as
file_name_here, are left alone. To italicise part of an identifier you need ADF. - The closing underscore must touch the last character.
_word _is not italic. - Browsers show italic and the help text says emphasis, but the HTML element is
em, noti.