1 I'm trying to put a list of tags in a table, so I carefully make a newline-free taglist.tmpl and then do:
3 | \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist]] |
5 but there's a line in `inline.pm` that does:
7 return "<div class=\"inline\" id=\"$#inline\"></div>\n\n";
9 And the extra newlines break the table. Can they be safely removed?
11 > If you want an HTML table, I would suggest using an HTML table, which
12 > should pass through Markdown without being interpreted further:
15 > \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtd]]
18 > where tagtd.tmpl is of the form `<td>your markup here</td>`; or even just
20 > \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtable]]
22 > where tagtable.tmpl looks like
28 > <td>your tag here</td>
34 > I don't think you're deriving much benefit from Markdown's table syntax
35 > if you have to mix it with HTML::Template and ikiwiki directives,
36 > and be pathologically careful with whitespace. "Right tool for the job"
39 > When I edited this page I was amused to find that you used HTML,
40 > not Markdown, as its format. It seems oddly appropriate to my answer, but
41 > I've converted it to Markdown and adjusted the formatting, for easier