使用区块宏来在页面中定义列。
代码示例
下面的代码是提供给希望进一步编辑 Confluence 页面的高级用户使用的。
宏名称: column
宏内容: 接受所有的富文本。
参数名称 | 是否必须 | 默认值 | 参数说明和可接受的值 |
---|
宽度(width) | 不是必须(No) | 页面宽度的100%,然后除以块中列的数量。 | 列的宽度,可以指定像素(例如: 400px )或者百分比(例如: 50% )。 |
存储格式示例
< ac:structured-macro ac:name = "column" >
< ac:parameter ac:name = "width" >100px</ ac:parameter >
< ac:rich-text-body >
< p >This is the content of < strong >column 1</ strong >.</ p >
</ ac:rich-text-body >
</ ac:structured-macro >
|
Wiki 标记示例
{column:width=100px}
This is the content of *column 1 *.
{column}
|