How to format an inline code in Confluence?

后端 未结 15 605
夕颜
夕颜 2020-12-22 17:57

How can I format an inline code in Confluence like this? I mean, not a separate code block, but just inline classname, for example.

15条回答
  •  情深已故
    2020-12-22 18:20

    To format code in-line within your text, use the '`' character to surround your code. Usually located to the left of the '1' key on your keyboard.

    Example:

    `printf("Hello World");`
    

    Same delimiter as Stack Exchange!

提交回复
热议问题