我正在尝试在DokuWiki中创build一个垂直跨越单元格的表格,但是与语法指南中的示例不同,我想要创build的单元格具有多行文本。
以下是我试图实现的ASCII版本
+-----------+-----------+ | Heading 1 | Heading 2 | +-----------+-----------+ | | Multiple | | Some text | rows of | | | text | +-----------+-----------+
我试过下面的语法
^ Heading 1 ^ Heading 2 ^ | Some text | Multiple | | ::: | rows of | | ::: | text |
但是这会产生输出
+-----------+-----------+ | Heading 1 | Heading 2 | +-----------+-----------+ | | Multiple | | +-----------+ | Some text | rows of | | +-----------+ | | text | +-----------+-----------+
我在DokuWiki文档中找不到任何东西,所以我希望我错过了一些从根本上简单的东西。
^ Heading 1 ^ Heading 2 ^ | Some text | Multiple\\ rows of\\ text |
你所需要的只是表格单元格内的换行符。 请享用!
我知道在问题得到解答之后很长一段时间,只是为了给社区提供更多的select:
您还可以使用像EditTable这样的插件来对表格进行可视化编辑(如在Microsoft Excel中): https ://www.dokuwiki.org/plugin:edittable
其他选项列在这里: https : //www.dokuwiki.org/tips : table_editing