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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

995 views 23 13
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