muesli4 / table-layout

Layout data in grids and pretty tables. Provides a lot of tools to get the cell formatting right (positional alignment, alignment on specific characters and limiting of cell width)..
BSD 3-Clause "New" or "Revised" License
37 stars 11 forks source link

Allow Strings in TableStyle #17

Closed Xitian9 closed 2 years ago

Xitian9 commented 2 years ago

Currently TableStyle allows only a single character for the various separators. Occasionally you may want to allow more flexibility: for example, you may want a double-thick line in ASCII for vertical separators||, or you may wish to exclude the outer border of a table entirely.

Would you be open to a PR to enable this functionality?

muesli4 commented 2 years ago

Yes, your contribution would be very welcome. Although, when it comes to any design questions I would like to be involved. Let me know if there is anything you need.

Xitian9 commented 2 years ago

I've submitted a couple of PRs addressing this and other issues. I don't mean this to be an end-run around design questions, but just so we have something concrete to look at when discussing any issues. Let me know what you think.