MoinLight

Annotated tests/test_table_parser.txt

315:171156732536
2022-06-03 Paul Boddie Fixed the table of contents macro to handle an absence of section entries.
paul@41 1
Wiki format
paul@41 2
paul@41 3
{{{#!table
paul@41 4
'''Cell 1''' || Cell 2
paul@41 5
==
paul@41 6
Cell 3 || Cell 4
paul@41 7
}}}
paul@41 8
paul@41 9
Wiki format again
paul@102 10
paul@102 11
{{{#!table
paul@102 12
<style="vertical-align: top">
paul@102 13
Top
paul@102 14
||
paul@102 15
<style="vertical-align: bottom">
paul@102 16
Bottom
paul@102 17
==
paul@102 18
<style="vertical-align: bottom"> Bottom
paul@102 19
||<style="vertical-align: top"> Top
paul@102 20
}}}
paul@308 21
paul@308 22
paul@308 23
{{{#!table
paul@308 24
paul@308 25
Padded, no break
paul@308 26
paul@308 27
||
paul@308 28
paul@308 29
Padded, no break
paul@308 30
paul@308 31
==
paul@308 32
paul@308 33
No preceding break
paul@308 34
|| No succeeding break
paul@308 35
paul@308 36
==
paul@308 37
paul@308 38
No preceding break
paul@308 39
paul@308 40
Separated by break || Some text
paul@308 41
}}}
paul@311 42
paul@311 43
{{{#!table
paul@311 44
 * A
paul@311 45
 * B
paul@311 46
||
paul@311 47
 * C
paul@311 48
 * D
paul@311 49
==
paul@311 50
paul@311 51
 * E
paul@311 52
 * F
paul@311 53
paul@311 54
||
paul@311 55
paul@311 56
 * G
paul@311 57
 * H
paul@311 58
paul@311 59
}}}