![]() |
NiKKi /Doc /Macros /RecordTable | |||||||||||||||||||||||||||||||||||||||||||||||
|
This macro converts records format to table.
<RecordTable( * [item]Field specification * [explanation]Fields are specified by r'^ * \[([^\]]]+\](.*)' * [comment] body can be multiline )> <RecordTable( * [item]Record specification * [explanation]Records are separated by blank line * [comment]Each record doesn't have to have all the fields. )> <RecordTable( * [item]''Why this spec?'' * [explanation]I chose this format so that if individual record is in a page, it is rendered as a list. * [comment]See GatherRecords )> <RecordTable( * [name]Abbey * [phone]xxx-xxx-xxxx * [email]xxx@yyy.zzz * [name]Puyo * [phone]111-222-4444 * [email]aaa@bbb.ccc )> Above will be rendered as:
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|