| At line 470 changed one line |
| <cell> = <|>{<switches>}[<SPACE>]*<Text> |
| <cell> = <wiki-Text> |
| At line 472 changed one line |
| <row> = <ULINE>{<|=><row_switches>}[<cell>{<~><ULINE>}*]* |
| <table> = <first_row>{<uline><other_row>}*<uline> |
| At line 474 changed one line |
| <table> = {<|#><table_switches>}[<row>]*[<ULINE>|<|> |
| <first_row> = (<table_start>%<row_start>%<cell_start>)<SPACE><cell>{<cell_start><SPACE><cell>{<~><uline>}*}*<uline> |
| At line 476 changed 5 lines |
| {opt} = zero or one repetitions |
| {opt}* = zero or more repetitions |
| [opt] = exactly one repetitions |
| [opt]* = one or more repetitions |
| opt1 | opt2 = either opt1 or opt2 but not both. |
| <other_row> = (<row_start>%<cell_start>)<SPACE><cell>{<cell_start><SPACE><cell>{<~><uline>}*}*<uline> |
| At line 478 added 17 lines |
| <cell_start> = <|><cell_switches> |
| <row_start> = <|=><row_switches> |
| <table_start> = <||><table_switchs> |
|
| <cell_switches> = {'<'|'I'|'>'}{'v'|'-'|'^'}{'*'|'/'} |
| <row_switches> = {'<'|'I'|'>'>}{'v'|'-'|'^'>}{'*'|'/'} |
| <table_switches> = {'+'|'O'|'x'|'#'} |
|
| META SYNTAX |
|
| {<opt>} => zero or one repetitions |
| {<opt>}* => zero or more repetitions |
| [<opt>] => exactly one repetitions |
| [<opt>]* => one or more repetitions |
| (<opt1>|<opt2>) => either one of opt1 or opt2, etc. |
| <opt1>%<opt2> => At least one of opt1 and/or opt2. |
| (...) => clarify Meta syntax. |
| At line 486 changed 3 lines |
| <switches> = {'<'|'I'|'>'}{'v'|'-'|'^'}{'*'|'/'} |
| <row_switches> = {'<'|'I'|'>'>}{'v'|'-'|'^'>}{'*'|'/'} |
| <table_switches> = {'+'}{'O'}{'x'} |
| <Text> = (<|><table>)|<other-wiki-text> |
| At line 493 changed one line |
| # If the next character is a ‘#’ the following characters are table switches |
| # If the next character is a ‘#’, '+', 'O' or 'X' the following characters are table switches |
| At line 498 changed 2 lines |
| # Cells and rows may be bold’*’ or italic’/’. |
| # tables may come with outer 'O' and with inner '+' borders or excluding borders 'x' (default?) |
| # Cells and rows may be bold’*’ or italic’/’ (bold cell within bold line inverts??). |
| # tables may come with all '#', outer 'O' with inner '+' borders or excluding borders 'x'. |
| At line 501 changed one line |
| # I'm tempted to allow <~><uline>||<SPACE><TEXT> to start a new inner table... where upon a '|' as the last non-white-space character forces an end to the (inner) table (unless escaped '~|') The result is that a table would be: |
| # A line beginning by: || indicates a new inner table... where upon a '|' as the last non-white-space character forces an end to the (inner) table (unless escaped '~|') The result is that a few examples of table would be: |
| At line 505 changed one line |
| |+O|* Header1 | Header 2 //table header, inner and outer borders, row bold |
| | 'head' 1 | 'head' 2 |
| | simple | table |
|
| |=< cell 1 | cell2 |
| | The above row cells are | both left aligned by the ~|= |
|
| |=* Bold 'head' 1 | Bold 'head' 2 |
| | cell 11 normal |* cell 12 is bold |
|
| |#* 'Header'1 | 'Header' 2 //table header, inner and outer borders, row bold |
| At line 508 changed one line |
| | cell 22 is anaother very long row of text which is far too long to allow another similar row ~ |
| | cell 22 is another very long row of text which is far too long to allow another similar row ~ |
| At line 510 changed 3 lines |
| | cell 41 |
| |~ |
| | Header 1 inner table | Header 2 inner table |
| | cell 41 || Cell 42 is a new table and this is Header 1 inner table ~ |
| | Header 2 inner table |
| At line 515 changed one line |
| | cell 51 is next | cell 52 |
| | last '~|' jumps out of inner table putting us in cell 51 | cell 52 |
|