-
Notifications
You must be signed in to change notification settings - Fork 642
Open
Labels
featureA new featureA new featureneeds triageSomeone needs to take a look at thisSomeone needs to take a look at this
Description
I'm replacing hand written table output, which looked like this:
[2 [10 [12 [30 [10 <-- these are just widths for ref
## Column2 Col3 Col4 Col5
-- ---------- ------------ ------------------------------ ----------
1 data123 col5 111
2 data345 col4data,row2 col5 222
the curent hand code writes all the fields use Substring and Padright to keep alignments and truncate overflows and such.
And Minimal style is similar but not "as minimal" as this one... how difficult would it be to submit a PR and have basically TrueMinimal style ? I looked through TableContextRenderer and it seems to insist on either borders (everywhere) or no borders (anywhere) which realistically this is "Header bottom border only" which IMO is the "true minimal"...
public static Table TrueMinimal(this Table table) {
table.Border = TableBorder.None;
table.HeaderBottomBorder = "-" or "=";
table.ShowRowSeparator = false;
return table;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureA new featureA new featureneeds triageSomeone needs to take a look at thisSomeone needs to take a look at this