How to stop typing code

Hi all,

I frequently use the double curly bracket macro to type code so that it shows up like this. The problem is that if I want to go back and insert some regular (not monospaced) text after the code, I can't get the code formatting to turn off. I have to delete everything and start over. Is there a better way to revert to regular formatting?



1 answer

This may be too much of a simplification of your question, but are you closing the code macro? For example, it should read: '{code}some code{code}'. So here the words "some code" would be mono spaced and everything before and after would not.


I was using the double-curly-brace shortcut for {code}, but yes, I was ending it as well. It's when you try to add text after that that I can't seem to the monospacing off.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,059 views 0 5
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