aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
diff options
context:
space:
mode:
authorsmcv <smcv@web>2014-09-09 13:52:21 -0400
committeradmin <admin@branchable.com>2014-09-09 13:52:21 -0400
commit6568adbbaf0c09c39a694d8757ee46d537b6b6ac (patch)
treec3577a84fef07f74e1eeac977a6286e0f2a5c242 /doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
parent05dc3e549b4a8ddd09de825126b8155f735ab2c3 (diff)
downloadikiwiki-6568adbbaf0c09c39a694d8757ee46d537b6b6ac.tar
ikiwiki-6568adbbaf0c09c39a694d8757ee46d537b6b6ac.tar.gz
another possibility
Diffstat (limited to 'doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn')
-rw-r--r--doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn18
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
index 47027c349..eb71994e5 100644
--- a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
+++ b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn
@@ -15,10 +15,24 @@ And the extra newlines break the table. Can they be safely removed?
> \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtd]]
> </tr></table>
>
-> where tagtd.tmpl is of the form `<td>your markup here</td>`.
+> where tagtd.tmpl is of the form `<td>your markup here</td>`; or even just
+>
+> \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtable]]
+>
+> where tagtable.tmpl looks like
+>
+> <TMPL_IF FIRST>
+> <table><tr>
+> </TMPL_IF>
+>
+> <td>your tag here</td>
+>
+> <TMPL_IF LAST>
+> </tr></table>
+> </TMPL_IF>
>
> I don't think you're deriving much benefit from Markdown's table syntax
-> here, if you have to mix it with HTML::Template and ikiwiki directives,
+> if you have to mix it with HTML::Template and ikiwiki directives,
> and be pathologically careful with whitespace. "Right tool for the job"
> and all that :-)
>