Content using Wiki Markup
Standard Confluence Wiki Markup
In artifacts Content (TextContent) Wiki Markup can be used. For formatting the text contained in a given Content refer to the documentation:
Example formatting in Content and appearance in the request





Images
To insert an image in Content you need to place the path to the image between exclamation marks. If we want to add any attributes to the image (e.g. alternative text), we should use the tag {img}, which has the following syntax:
{img:attribute_name1=attribute_value1:attribute_name2=attribute_value2...}image_path{img}
An attribute can be any attribute supported by the HTML tag except src (https://www.w3schools.com/tags/tag_img.asp).
Examples
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 the standard Confluence Wiki Markup, we can use additional extensions:
{span:class1}...{span} -> is replaced with <span class="class1">...</span>
Last updated
Was this helpful?
