How can I use curly braces without creating a macro?

I want to use curly braces in some text on a page in confluence, but I can't work out how to stop it automatically creating a macro. I tried double curly braces which created a code block, and also tried backslash and forward slash.

2 answers

1 accepted

1 vote
Answer accepted

Hi Mark,

You have two options

  1. Copy and paste the curly braces (especially if you are going to put an ending closing brace)
  2. After entering the curly brace and the macro menu pops up, press the ESC key and the menu will go away leaving the curly brace there. However, if you put in a closing brace it will still try to convert it to a wiki markup macro, so copy/paste will be your best bet in that case.

Note that simply copying and pasting the entire text including both braces automatically inserts a Wiki markup block

Here is a nice alternative to Stephen Deutsch's answer # 2:

You first enter whatever goes between the curly braces AND the right curly brace -- this causes no problems.

Then, you insert the left curly brace, which does pop up the dialog -- but you can just ESC out of that.

This is absurd. "Preformatted" mode should take precedence and not trigger inserts. Confluence is so difficult to write code in. Atlassian, why do you hate us?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

274 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you