Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Keyboard shortcut for monospace formatting

Is there a keyboard shortcut for formatting a selected text as monospace? Alternatively, is there a special trigger, like { character triggering a macro chooser?

When writing technical documentation, there would inevitably be text that needs to be formatted in monospace. It's a pain to repeatedly select text, reach for the A icon on the toolbar, and then selecting 'Monospace'.

3 answers

1 accepted

Hello @jeenuv ,

I am not aware of a keyboard shortcut for formatting text as monospace. According to this link there is a shortcut (ctrl + shift + m), but that didnt work for me. The solution that i am using is to do markup as {{text to be formatted in monospace}}. The double curly-brackets at the start and end of the text does the job. Its not a keyboard shortcut, but it is simple and easy to do.

To see all available key shortcuts and markups, press the "?" in the top right corner of the window when editing a page in confluence. 

Hope this helps,

Good luck with your Confluence endeavors!

{{ }} works for me, although I still itch for a shortcut (just like to make text bold/italic). Meanwhile, I've reported an error on the page you linked.

And I've never spotted the ? while editing pages either!

Thank you for the pointers!

Like Gustav L_Estrade likes this

Your method only works on Confluence Server

Like Gustav L_Estrade likes this

Ctrl+Shift+M is Insert Media; the closest thing to a shortcut is Ctrl+7, but that (like the other Ctrl+number shortcuts) operates on a paragraph basis.  Atlassian is just lame.

0 votes
coden I'm New Here Dec 16, 2021

I've created own TamperMonkey script to use Ctrl+m to add Monospace formatting 

https://gist.github.com/dmitryuk/05768cc3386dffecc5d22d9f827f24d8

In Confluence Cloud, placing ` to either side of a character string shows the text as monospaced (In the new editor, this also includes a grey background, in the old editor it is just the regular background color)

Also, the ? has moved to the bottom-right in the new editor!

You may also use the /Code macro to insert a formatted code "snipett", with some syntax highlighting, etc.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

42,851 views 29 134
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you