如何在Confluence中格式化内联代码? [英] How to format an inline code in Confluence?

查看:142
本文介绍了如何在Confluence中格式化内联代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在这样的Confluence 中格式化内联代码?我的意思是,不是单独的代码块,而是内联 classname

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

推荐答案

要在Confluence中插入行内等宽字体,请用双花括号将文本括起来。

To insert inline monospace font in Confluence, surround the text in double curly-braces.

这是 {{example} }

如果您使用的是Confluence 4.x或更高版本,则还可以从段落样式中选择预格式化选项菜单。请注意,这将应用于整个行。

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.

完整参考此处

这篇关于如何在Confluence中格式化内联代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆