How to format an inline code in Confluence?

2019-01-29 19:11发布

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

14条回答
啃猪蹄的小仙女
2楼-- · 2019-01-29 19:39

The easiest way I've found to do this is to write in markdown right from the start of the line. Press Ctrl+D (shortcut for opening the markup input dialog) and type markdown. The normal wiki editor doesn't seem to be very good for precise formatting. It doesn't seem to know much about character styles and only knows paragraph styles.

查看更多
Animai°情兽
3楼-- · 2019-01-29 19:39

Easiest way for me is to Insert Markup.

Confluence 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.

查看更多
登录 后发表回答