Format Inline Text as Code?

Will D
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!
September 30, 2023

Very simply want to format text as code - if I copy a string from a code block and paste it into inline text - it's formatted as code.

Copy+Pasting is incredibly laborious.

Anyone know of a format as code hotkey for inline text?

2 answers

1 accepted

1 vote
Answer accepted
Will D
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 1, 2023

Ctrl + Shift + M lmao

0 votes
Eugene Domingo November 19, 2024

If you don't have admin rights to Confluence to edit your own CSS Stylesheet, you can use the "span" macro.

Highlight what you want to format, search for the macro and select it.  Then, in the "inline style" section of the macro, use CSS stylesheet to get your effect.  Type in something like:

border-radius: 5px; color: maroon; border: solid wheat 1px; background-color: whitesmoke;

Only caveat, I noticed if you use this within a bulleted line, it places it on its own line, very much like "code-block" does.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events