ConsoleTables icon indicating copy to clipboard operation
ConsoleTables copied to clipboard

Possibility To Add Divider Row

Open 7enderhead opened this issue 4 years ago • 2 comments

  • I'd love to see the possibility to add visual dividers as "row data".
  • Perhaps a method AddDividerRow()

7enderhead avatar Jul 20 '20 08:07 7enderhead

  • Hmm, on second thought, perhaps with an optional 'divider character' parameter: AddDividerRow('=')

7enderhead avatar Jul 20 '20 09:07 7enderhead

I second this request.

ATM, this is how I overcome it:

table.AddRow('-', '-', '-', '-', '-', '-'); var finalTable = Regex.Replace(table.ToMarkDownString(), @" \-\s+", m => new string('-', m.Length));

ahmad-masalha avatar Feb 11 '22 11:02 ahmad-masalha