]>
Commit | Line | Data |
---|---|---|
1 | # Tablify | |
2 | ||
3 | Display a flat text log as an HTML table. | |
4 | ||
5 | Input format: | |
6 | ||
7 | row 1 label | |
8 | column label for a thing | |
9 | column label for a different thing: cell contents | |
10 | ||
11 | row 2 label | |
12 | column label for a thing | |
13 | ... | |
14 | ||
15 | Several bang-commands are available to control output formatting: | |
16 | ||
17 | * `!col <column>` to force column ordering, overriding frequency-ordering. | |
18 | * `!colsep` to leave a insert a gap between columns (skip two lines to leave a gap between rows). | |
19 | * `!col_threshold <N>` to set the threshold at which entries get columns rather than being left as notes on the right. Default: 2 | |
20 | * `!hide <column>` to omit a column | |
21 | * `!label <column>:<new label>` to change a column's label without needing to change all the input occurrences. | |
22 | * `!mark <column>:<mark>` to change the character that is used as the tally-mark for that column | |
23 | ||
24 | (For the other `tablify` that makes ascii-art tables, see [Text-RecordParser][].) | |
25 | ||
26 | [Text-RecordParser]: https://metacpan.org/dist/Text-RecordParser/view/bin/tablify |