Content using Wiki Markup

Standard Confluence Wiki Markup

In artifacts Content (TextContent) you can use Wiki Markup. For formatting text contained in a given Content refer to the documentation:

Example formatting in Content and appearance on the request

Content (Text content)
request

*bold*
+underline+
-strikethrough-
_italic_
??quote??
Text with ^superscript^
Text with ~subscript~

\\
\\
New line after larger spacing

h1. Header H1
h3. Header H3
h5. Header H5

line: ----
{color:red}Text in red color{color}
Text {{monospaced}}
hyperlink: [Go to the Consdata company page|http://consdata.pl]
Image: !biz/company_logo.png!

*Table:*

||header 1||header 2||header 3||

|loooooooooooooooooong cell|cell A2|cell A3|

|cell B1|cell B2|cell B3|

*Bulleted list:*
* item 1
* item 2
** item 2a
*** item 2b
**** item 2c
***** item 2d
****** item 2e
* item 3

*Numbering:*
# item 1
# item 2
** item 2a
*** item 2b
**** item 2c
***** item 2d
****** item 2e
# item 3

Images

To insert an image in Content you should place the path to the image between exclamation marks. If you want to add any attributes to the image (e.g. alternative text) you should use the {img}tag, which has the following syntax:

{img:attribute_name1=attribute_value1:attribute_name2=attribute_value2...}path_to_image{img}

An attribute can be any attribute supported by the HTML tag except src (https://www.w3schools.com/tags/tag_img.asp).

Examples

Description
WikiMarkup
Output

Image

!biz/1.png!

Image with alternative text

{img:alt=Alternative text}biz/1.png{img}

<img src='biz/1.png' alt='Alternative text' />

Image with alternative text and class

{img:alt=Alternative text:class=class}biz/1.png{img}

<img src='biz/1.png' alt='Alternative text' class='class' />

Confluence Wiki Markup extensions

In addition to standard Confluence Wiki Markup we can use additional extensions:

{span:class1}...{span} -> is converted to <span class="class1">...</span>

Demo request: demoTextContentWikiMarkup

Last updated

Was this helpful?