khalidabuhakmeh / ConsoleTables

Print out a nicely formatted table in a console application C#
MIT License
948 stars 158 forks source link

Possibility To Add Divider Row #42

Open 7enderhead opened 4 years ago

7enderhead commented 4 years ago
7enderhead commented 4 years ago
ahmad-masalha commented 2 years ago

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));