how do I put a square bracket on a page

thought I could put square brackets on my confluence page by escaping the \[ but, that just shows a \[ on the page.  and if i do [] two in a row, I get a task.  I thought I could do two in a row and then back arrow to get  between them - no.  Is my only option to go into the source and edit?


thanks in advance


3 answers

1 accepted

This widget could not be displayed.

Just type your two brackets then cmd/ctrl+Z and it will convert to plain ol' brackets. Also works if you want some text in [brackets].

This does not work for me on Mac OS X and the newest version of Confluence. Cmd+Z merely deletes everything I've just typed, doesn't undo the WYSIWYG.

This seems to work on my Mac:

[ <escape> letter letter letter ... ] command-z


That still seems pretty hackish.  That's not really a feature, you're simply breaking the buffer stream that the WYSIWYG logic is using.  Atlassian ought to create a controlled escape mechanism, just to avoid the inevitable change in interpretation by the enduser OS/Browser.

@Kyle, Agreed, as Dale's solution does not work for me either.  Even using <esc>, which was my first guess to get [text text], command-z still deletes everything I typed.


What did work was opening TextEdit, typing what i needed there, then copying/pasting it back to Confluence.  :/


Also works is the suggestion below:

[<esc> text text \]

This widget could not be displayed.

OH MY Goodness.  this is awesome!  Thank you.  And thanks for being so quick!

This widget could not be displayed.

The incantation that seems to work from my Mac today:

[ <escape> char char char \ ]

Yes, this is working today also.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

302 views 2 5
Join discussion

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