Edgewall Software

Changes between Version 18 and Version 19 of TracDev/Proposals/AdvancedWikiFormatting


Ignore:
Timestamp:
Feb 12, 2010, 2:13:14 PM (14 years ago)
Author:
Christian Boos
Comment:

cleaned-up #SimpleTables section

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/AdvancedWikiFormatting

    v18 v19  
    1111This is #3347.
    1212
    13 The syntax would be:
    14 {{{
    15 ||= header =||= another header =|| not a header ||
    16 ||= line xx=|| data1 || data2 ||
    17 }}}
     13||= Wiki Markup =||= Display =||
     14{{{#!td
     15  {{{
     16  ||= header =||= another header =|| not a header ||
     17  ||= line xx=|| data1 || data2 ||
     18  }}}
     19}}}
     20{{{#!td
     21  ||= header =||= another header =|| not a header ||
     22  ||= line xx=|| data1 || data2 ||
     23}}}
     24''Implemented in r9005''
    1825
    1926==== support for column span ====
    2027I have a patch, but #1293 suggests that the preferred syntax would be to have an ''even'' number of pipes, e.g. `||||` and `||||||` to indicate a span of 2 and 3, instead of `|||` and `||||`.
     28
     29||= Wiki Markup =||= Display =||
     30{{{#!td
     31  {{{
     32  ||||= two headers =||= another header =||
     33  |||| two cells || another cell ||
     34  }}}
     35}}}
     36{{{#!td
     37  ||||= two headers =||= another header =||
     38  |||| two cells || another cell ||
     39}}}
     40''Implemented in r8698''
    2141
    2242==== long columns ====
    2343Then, simple tables are not that readable when there are multiple cells with long content.
    2444It would be better to be able to have one cell per line, without triggering the creation of a new row. The \ continuation character come to mind:
     45||||= Wiki Markup =||
     46{{{#!td
    2547{{{
    2648|| this is column 1 [http://trac.edgewall.org/newticket new ticket] || \
     
    2850|| that's column 3 and last one ||
    2951}}}
    30 ----
     52}}}
     53|-----------------------------------------------------------------------------
     54||= Display =||
     55{{{#!td
    3156|| this is column 1 [http://trac.edgewall.org/newticket new ticket] || \
    3257|| this is column 2 [http://trac.edgewall.org/roadmap the road ahead] || \
    3358|| that's column 3 and last one ||
    34 ----
     59}}}
    3560''Implemented in r8962''
    3661
     
    86111In r9069, the `#!tr` wiki processor was added as well.
    87112
    88 What is possibly missing now is a way to specify attributes to the table itself, so maybe a `#!table` wiki processor could be used for that (''done in r9106'') (also `|+` WikiMedia style caption or `#!caption`?)
     113What is possibly missing now is a way to specify attributes to the table itself, so maybe a `#!table` wiki processor could be used for that (''implemented in r9106'') (also `|+` MediaWiki style caption or `#!caption`?)
    89114
    90115=== Enhanced lists ===