X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/077aa989e5f0bdc5a563244504f2f468c9b47482..d1d16f97ea7aad7e7006bda3bd39de79fe63ae33:/README.md?ds=sidebyside diff --git a/README.md b/README.md index 94752af..fe19e7b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,24 @@ Display a flat text log as an HTML table. +Input format: + + row 1 label + column label for a thing + column label for a different thing: cell contents + + row 2 label + column label for a thing + ... + +Several bang-commands are available to control output formatting: + +* `!col ` to force column ordering, overriding frequency-ordering. +* `!colsep` to leave a insert a gap between columns (skip two lines to leave a gap between rows). +* `!col_threshold ` to set the threshold at which entries get columns rather than being left as notes on the right. Default: 2 +* `!hide ` to omit a column +* `!label :` to change a column's label without needing to change all the input occurrences. + (For the other `tablify` that makes ascii-art tables, see [Text-RecordParser][].) [Text-RecordParser]: https://metacpan.org/dist/Text-RecordParser/view/bin/tablify