Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 edited

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
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events