diff options
author | smcv <smcv@web> | 2014-09-09 13:49:10 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-09-09 13:49:10 -0400 |
commit | 05dc3e549b4a8ddd09de825126b8155f735ab2c3 (patch) | |
tree | b8790460f2dc0519cbe410a7a5f2fb6fd692c4a7 /doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn | |
parent | f05c13f931f419d745bd1c868a858fc776261c77 (diff) | |
download | ikiwiki-05dc3e549b4a8ddd09de825126b8155f735ab2c3.tar ikiwiki-05dc3e549b4a8ddd09de825126b8155f735ab2c3.tar.gz |
turn this into mdwn
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.mdwn | 19 |
1 files changed, 11 insertions, 8 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 b40d5d0ff..47027c349 100644 --- a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn +++ b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn @@ -1,13 +1,10 @@ I'm trying to put a list of tags in a table, so I carefully make a newline-free taglist.tmpl and then do: -<pre> -| [ [!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist] ] | -</pre> + | \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist]] | -but there's a line in <pre>inline.pm</pre> that does: -<pre> - return "<div class=\"inline\" id=\"$#inline\"></div>\n\n"; -</pre> +but there's a line in `inline.pm` that does: + + return "<div class=\"inline\" id=\"$#inline\"></div>\n\n"; And the extra newlines break the table. Can they be safely removed? @@ -23,4 +20,10 @@ And the extra newlines break the table. Can they be safely removed? > 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, > and be pathologically careful with whitespace. "Right tool for the job" -> and all that :-) --[[smcv]] +> and all that :-) +> +> When I edited this page I was amused to find that you used HTML, +> not Markdown, as its format. It seems oddly appropriate to my answer, but +> I've converted it to Markdown and adjusted the formatting, for easier +> commenting. +> --[[smcv]] |