How to avoid blocking text from formatting in atlas markup

I can't find a way to tell the Atlassian markup engine to ignore the formatting code inside the inline portion of the text. For example, if I write "[var for var (* args) in list]" in Crucible's comment, it thinks it is an underscore link, etc. I'm not interested in dumping (with \) every single markup character in this error prone, messy block of code. The {noformat} macro creates a block of text (a separate paragraph) rather than inline with the surrounding text. I searched in detail and the closest I found SO answerby creating a custom macro. This might work, but I don't have admin access to our JIRA and it seems like this macro should be created for all of our atlas services (JIRA, Crucible, FishEye, etc.). Is there no other way to accomplish this simple and basic operation of escaping an inline piece of text from the markup engine?

+3


source to share


2 answers


What you are asking is quite reasonable. Unfortunately, this is not currently a feature of the Atlassian Comment Editor. The only way to achieve linear escaping currently is to use a backslash before each special character.

A custom macro deployed as an atlassian add-in will give you what you need. You can develop an add-in yourself using the Atlassian Software Development Kit (SDK) .



Alternatively, AppFusions can develop an add-on for you commercially. I think you may find this option cost effective.

+5


source


For inline code, you can use double curly braces as the thread's top-ranked answer suggests . Just list the completeness here.

{{[var for var(*args) in list]}}

      



Confluence will display the text as monospaced code after you type the closing double curly braces.

0


source







All Articles