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?

 

Thanks!

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,011 views 22 10
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