How can I format an inline code in Confluence like this? I mean, not a separate code block, but just inline classname, for example.
inline code
like this
classname
Easiest way for me is to Insert Markup.
Then in text box type the text between curly braces.
It will insert the formatted text in a new line but you can copy it anywhere, even inline.