DenverCoder1/table2ascii

Create preset themes to choose from

DenverCoder1 opened this issue · 0 comments

Many useful styles can be useful for outputting

Examples:

  • Markdown
|  #  |  G  |  H  |  R  |  S  |
|-----|-----|-----|-----|-----|
| 1   |  60 |  70 |  50 |  60 |
| 2   |  50 |  30 |  80 |  60 |
| SUM | 110 | 100 | 110 | 120 |
  • Single line
┌─────┬─────┬─────┬─────┬─────┐
│  #  │  G  │  H  │  R  │  S  │
├─────┼─────┼─────┼─────┼─────┤
│ 1   │  60 │  70 │  50 │  60 │
│ 2   │  50 │  30 │  80 │  60 │
│ SUM │ 110 │ 100 │ 130 │ 120 │
└─────┴─────┴─────┴─────┴─────┘
  • Basic ASCII
+-----+-----+-----+-----+-----+
| #   | G   | H   | R   | S   |
+=====+=====+=====+=====+=====+
| 1   | 60  | 70  | 50  | 60  |
+-----+-----+-----+-----+-----+
| 2   | 50  | 30  | 80  | 60  |
+=====+=====+=====+=====+=====+
| SUM | 110 | 100 | 130 | 120 |
+-----+-----+-----+-----+-----+