Confluence 标记表格式如何工作?
我正在构建一个工具,该工具将创建一个格式化的数据页面,我可以将其粘贴到 confluence 中。我遇到的问题是表格。根据帮助页面,我应该能够使用以下标记来创建表格,但是当我将其粘贴到其中时,它保持原样。
|| Col1 || Col2 || Col3 ||
|---|---|---|
|Value1|Value2|Value3|
|Value4|Value5|Value6|
如果我在任何行上按回车键,则只有该行会变成表,并且在后续行上按回车键不会将这些行添加到同一个表中。无论如何,我无法对所有行按回车键,因此这不是一个可行的解决方案。 我还尝试使用宏来插入它,但随后它将所有行变成一行。我缺少什么?
仅供参考,我拒绝将其构建为完整的 html 页面,因为我想使用内置的 TOC 功能,并且不确定这将如何进行,而且据我所知,markdown 不支持它
I'm building a tool that will create a formatted page of data that I can paste into confluence. The issue I'm having is with tables. According to the help pages I should be able to use the following markup to create a table, but when I paste it in it stays as-is.
|| Col1 || Col2 || Col3 ||
|---|---|---|
|Value1|Value2|Value3|
|Value4|Value5|Value6|
If I hit return on any of the rows, only that row gets turned into a table, and hitting return on subsequent rows doesn't add the rows to the same table. I can't hit return on all the rows anyway so this isn't a viable solution.
I've also tried using the macro to insert it, but then it turns all rows into a single row. What am I missing?
As an FYI, I am resisting building this out as a full html page as I want to use the built-in TOC functionality and not sure how that will go plus as far as I can tell the markdown doesn't support it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎问题在于标记 - 如果您在使用标记宏时从下拉列表中选择“Confluence wiki”,它就可以工作
Seems it's the markdown that is the issue - if you select "Confluence wiki" from the dropdown when using the markup macro it works