How to format an inline code in Confluence?
To insert inline monospace font in Confluence, surround the text in double curly-braces. This is an {{example}}. If you’re using Confluence 4.x or higher, you can also just select the “Preformatted” option from the paragraph style menu. Please note that will apply to the entire line. Full reference here.