如何在Confluence中格式化内联代码?

本文介绍了如何在Confluence中格式化内联代码,包括使用双花括号包围文本,选择“预格式化”选项,以及创建自定义宏等方法。同时,还提供了编辑全局CSS以改变等宽文本背景颜色的技巧。
摘要由CSDN通过智能技术生成

本文翻译自: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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值