Keyboard shortcut for monospace formatting

jeenuv October 23, 2019

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'.

4 answers

1 accepted

2 votes
Answer accepted
Gustav L'Estrade
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2019

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!

jeenuv October 23, 2019

{{ }} 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
Bob Sovers
Contributor
October 24, 2019

Your method only works on Confluence Server

Like Gustav L'Estrade likes this
Tom Hundt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2020

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.

2 votes
Bob Sovers
Contributor
October 24, 2019

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.

0 votes
zubair khalid December 7, 2023

Your technique simplest works on Confluence Server. can you plz check this problem on my https://spacebarclicktest.info/cps-test/ this page ?

0 votes
coden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2021

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events