本文翻译自:How to format an inline code in Confluence?
How can I format an inline code
in Confluence like this
? 如何设置格式的inline code
Confluence中like this
? I mean, not a separate code block, but just inline classname
, for example. 我的意思是,不是单独的代码块,而只是内联classname
,例如。
#1楼
参考:https://stackoom.com/question/sz4v/如何在Confluence中格式化内联代码
#2楼
To insert inline monospace font in Confluence, surround the text in double curly-braces. 要在Confluence中插入内联等宽字体,请将文本用双花括号括起来。
This is an {
{example}}
. 这是{
{example}}
。
If you're using Confluence 4.x or higher, you can also just select the "Preformatted" option from the paragraph style menu. 如果您使用的是Confluence 4.x或更高版本,您也可以从段落样式菜单中选择“预格式化”选项。
Full reference here: https://confluence.atlassian.com/display/CONF56/Quick+Reference+Guide+for+the+Confluence