]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
rename bugs/Inlining_adds_newlines_which_can_break_markdown.html to bugs/Inlining_add...
authorsmcv <smcv@web>
Tue, 9 Sep 2014 17:46:48 +0000 (13:46 -0400)
committeradmin <admin@branchable.com>
Tue, 9 Sep 2014 17:46:48 +0000 (13:46 -0400)
doc/bugs/Inlining_adds_newlines_which_can_break_markdown.html [deleted file]
doc/bugs/Inlining_adds_newlines_which_can_break_markdown.mdwn [new file with mode: 0644]

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 (file)
index b40d5d0..0000000
+++ /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:
-
-<pre>
-| [ [!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist] ] |
-</pre>
-
-but there's a line in <pre>inline.pm</pre> that does:
-<pre>
-        return "&lt;div class=\"inline\" id=\"$#inline\"&gt;&lt;/div&gt;\n\n";
-</pre>
-
-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:
->
->     <table><tr>
->     \[[!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>`.
->
-> 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 (file)
index 0000000..b40d5d0
--- /dev/null
@@ -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:
+
+<pre>
+| [ [!inline pages="link(/category/env)" feeds=no archive=yes sort=title template=taglist] ] |
+</pre>
+
+but there's a line in <pre>inline.pm</pre> that does:
+<pre>
+        return "&lt;div class=\"inline\" id=\"$#inline\"&gt;&lt;/div&gt;\n\n";
+</pre>
+
+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:
+>
+>     <table><tr>
+>     \[[!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>`.
+>
+> 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]]