1 This may, strictly speaking, be a bug in the [[plugins/contrib/pandoc]] plugin, but I think it would be better to fix it in ikiwiki because of its kind (and maybe because I believe/hope pandoc will become the markdown dialect standard). For all I know it might not only affect pandoc tables.
3 When creating a simple table in pandoc-flavoured markdown,
9 pandoc converts this to the html code
14 <th align="left">1</th>
15 <th align="left">2</th>
20 <td align="left">3</td>
21 <td align="left">4</td>
26 `<tr class="header">` causes it to be affected by `style.css`'s
36 (more specifically by `display: block;`), which results in all header cells to cramp together in the first column.
38 The fix is easy: In `style.css` change `.header {` to `.header tr:not(.header) {`.
40 Alternatively, add the following code.
46 I've added that last code snippet to my `custom.css` file. I admit `.header tr:not(.header)` is not especially elegant, but then again, I have almost no knowledge of CSS. There might be better solutions. (I don't even know why `display: block;` breaks the tables or why changing it to `display: table-header;` doesn't fix it but `display: table-row;` does :DÂ )