From f05c13f931f419d745bd1c868a858fc776261c77 Mon Sep 17 00:00:00 2001 From: smcv Date: Tue, 9 Sep 2014 13:46:48 -0400 Subject: rename bugs/Inlining_adds_newlines_which_can_break_markdown.html to bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn --- ...ing_adds_newlines_which_can_break_markdown.html | 26 ---------------------- ...ing_adds_newlines_which_can_break_markdown.mdwn | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 doc/bugs/Inlining_adds_newlines_which_can_break_markdown.html create mode 100644 doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn (limited to 'doc') diff --git a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.html b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.html deleted file mode 100644 index b40d5d0ff..000000000 --- a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.html +++ /dev/null @@ -1,26 +0,0 @@ -I'm trying to put a list of tags in a table, so I carefully make a newline-free taglist.tmpl and then do: - -
-| [ [!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist] ] |
-
- -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? - -> If you want an HTML table, I would suggest using an HTML table, which -> should pass through Markdown without being interpreted further: -> -> -> \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtd]] ->
-> -> where tagtd.tmpl is of the form `your markup here`. -> -> 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]] diff --git a/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn new file mode 100644 index 000000000..b40d5d0ff --- /dev/null +++ b/doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn @@ -0,0 +1,26 @@ +I'm trying to put a list of tags in a table, so I carefully make a newline-free taglist.tmpl and then do: + +
+| [ [!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist] ] |
+
+ +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? + +> If you want an HTML table, I would suggest using an HTML table, which +> should pass through Markdown without being interpreted further: +> +> +> \[[!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=tagtd]] +>
+> +> where tagtd.tmpl is of the form `your markup here`. +> +> 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]] -- cgit v1.2.3