Escape special characters used by Jira/Confluence

Confluence and Jira are amazing at interpreting characters for text-formatting. But sometimes it just doesn’t come in handy.

Imagine you are documenting CLI parameters:

$ somecommand --some-param=xyz

Confluence/Jira would express this as a strike through text, because of the hyphens.

This can be circumvented by using the backslash escape character:

$ somecommand \-\-some\-param=xyz

 

 

Leave a Reply