如何更改 confluence 的 table-plus 宏中的列宽?
我尝试更改 Confluence wiki 标记中的列宽,但我不明白为什么它不起作用。我有这样的事情:
{table-plus:columnTypes=S,-,.|autoNumber=true|sortColumn=3
|columnAttributes=,,style="background:yellow; font-size:14pt;"}
|| Name || Phone || TCP ||
| John | 555-1234 | 192.168.1.10 |
| Mary | 555-2134 | 192.168.1.12 |
| Bob | 555-4527 | 192.168.1.9 |
{table-plus}
我知道“columnAttributes”属性将 CSS 添加到单元格(根据此 链接),但在 Confluence 3.5 中,它在我的情况下不起作用。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是设置每列宽度的语法,为了便于阅读而进行了格式化。 (请记住,宏不能包含空格。):
这会产生:

Here's the syntax for setting the width in each column, formatted for readability. (Remember that macros must contain no whitespace.):
This produces:

使用 table-plus 宏,如您的链接中所述:
Use table-plus macro, as described in your link: