1.1 --- a/pages/HelpOnImprovedTableParser Fri Jul 13 00:39:56 2012 +0200
1.2 +++ b/pages/HelpOnImprovedTableParser Fri Jul 13 01:03:11 2012 +0200
1.3 @@ -81,24 +81,48 @@
1.4 until the next row or the end of the table
1.5 }}}
1.6
1.7 +==== Indented Column Text and Line Continuation ====
1.8 +
1.9 Sometimes it can be convenient to present a table in a formatted fashion, with alignment of column content even when viewed as plain text. However, this can present problems with indentation:
1.10
1.11 +{{{{
1.12 +{{{#!table
1.13 +First column || Second column
1.14 + ...this should be part of the same paragraph,
1.15 + but isn't until now.
1.16 +}}}
1.17 +}}}}
1.18 +
1.19 +The result is as follows:
1.20 +
1.21 {{{#!table
1.22 First column || Second column
1.23 - ...this should be part of
1.24 - the same paragraph, but isn't
1.25 + ...this should be part of the same paragraph,
1.26 + but isn't until now.
1.27 }}}
1.28
1.29 -To achieve the desired effect, a line continuation syntax is available that prevents !MoinMoin from treating the second and subsequent lines as being indented paragraphs:
1.30 +Note how !MoinMoin lost one of the dots on the second line of the second column's text. This is a feature of the Wiki text parser.
1.31 +
1.32 +To achieve the desired effect, a line continuation syntax is available that prevents !MoinMoin from treating the second and subsequent lines as indented paragraph text:
1.33 +
1.34 +{{{{
1.35 +{{{#!table
1.36 +First column || Second column
1.37 + .. ...this should be part of the same paragraph, and it now is,
1.38 + .. as is this text.
1.39 +}}}
1.40 +}}}}
1.41 +
1.42 +Note that the `..` marker must be the first non-space characters on a line: it is not a column separator, and does not therefore provide a way of writing column content side by side.
1.43 +
1.44 +The result is this:
1.45
1.46 {{{#!table
1.47 First column || Second column
1.48 - .. ...this should be part of
1.49 - .. the same paragraph, but isn't
1.50 + .. ...this should be part of the same paragraph, and it now is,
1.51 + .. as is this text.
1.52 }}}
1.53
1.54 -Note that the `..` marker must be the first non-space characters on a line: it is not a column separator, and does not therefore provide a way of writing column content side by side.
1.55 -
1.56 ==== Styles and Formatting ====
1.57
1.58 Style and formatting options are placed at the start of a row or column inside `<` and `>` markers, with the options corresponding to HTML attributes as described for the [[HelpOnTables|default syntax for tables]] being supported.