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

Multiple colors in a single cell are not supported #11

Closed muesli4 closed 2 years ago

muesli4 commented 4 years ago

By using Formatted the user is able to use color in a single cell. However, composing snippets with different formatting instructions in a single cell is not supported.

It should also make sure that formatting instructions are not cleared or left out accidentally. This is also an issue with the Formatted type. It could also make sense to implement this in a backend-agnostic manner. For example, introduce a type class for formatting instructions.