Skip to content

Commit b613450

Browse files
committed
2 parents be04f63 + 59f85c8 commit b613450

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,28 @@ var tableData = new List<List<object>>
2828
new List<object>{ "Serge Baldwin", "Data Coordinator", "San Francisco", 28, "something else" },
2929
new List<object>{ "Shad Decker", "Regional Director", "Edinburgh"},
3030
};
31+
```
32+
33+
**Simple example with default format:**
3134

32-
Console.WriteLine();
33-
Console.WriteLine("=> Simple example with default format:".ToUpper());
35+
```csharp
3436
ConsoleTableBuilder
3537
.From(tableData)
3638
.ExportAndWriteLine();
39+
```
40+
41+
**More example with existing format Alternative:**
3742

38-
Console.WriteLine();
39-
Console.WriteLine("=> More example with existing format Alternative:".ToUpper());
43+
```csharp
4044
ConsoleTableBuilder
4145
.From(tableData)
4246
.WithFormat(ConsoleTableBuilderFormat.Alternative)
4347
.ExportAndWriteLine(TableAligntment.Center);
48+
```
49+
50+
**Advance example with custom format using CharMap:**
4451

45-
Console.WriteLine();
46-
Console.WriteLine("=> Advance example with custom format using CharMap:".ToUpper());
52+
```csharp
4753
ConsoleTableBuilder
4854
.From(tableData)
4955
.WithTitle("CONTACTS ", ConsoleColor.Yellow, ConsoleColor.DarkGray)
@@ -96,6 +102,9 @@ Check more demo here https://github.com/minhhungit/ConsoleTableExt/blob/master/S
96102

97103
<img src="https://raw.githubusercontent.com/minhhungit/ConsoleTableExt/master/wiki/Images/HeaderCharMapPositions.png" style="width: 100%;" />
98104

105+
106+
**There are many ways to contribute to ConsoleTableExt, either contribute issue/code directly or buy me a cup of coffee**
107+
99108
<a href='https://ko-fi.com/I2I13GAGL' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi4.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
100109

101110
### Inspired by

0 commit comments

Comments
 (0)