|
1 | 1 | from .table_style import TableStyle
|
2 | 2 |
|
3 | 3 | thin = TableStyle.from_string("┌─┬─┐││ ├─┼─┤├─┼─┤└┴─┘")
|
| 4 | +thin_box = TableStyle.from_string("┌─┬┬┐│││├─┼┼┤├─┼┼┤└┴┴┘") |
4 | 5 | thin_rounded = TableStyle.from_string("╭─┬─╮││ ├─┼─┤├─┼─┤╰┴─╯")
|
5 | 6 | thin_compact = TableStyle.from_string("┌─┬─┐││ ├─┼─┤ └┴─┘")
|
6 | 7 | thin_compact_rounded = TableStyle.from_string("╭─┬─╮││ ├─┼─┤ ╰┴─╯")
|
7 | 8 | thin_thick = TableStyle.from_string("┌─┬─┐││ ┝━┿━┥├─┼─┤└┴─┘")
|
8 | 9 | thin_thick_rounded = TableStyle.from_string("╭─┬─╮││ ┝━┿━┥├─┼─┤╰┴─╯")
|
9 | 10 | thin_double = TableStyle.from_string("┌─┬─┐││ ╞═╪═╡├─┼─┤└┴─┘")
|
10 | 11 | thin_double_rounded = TableStyle.from_string("╭─┬─╮││ ╞═╪═╡├─┼─┤╰┴─╯")
|
| 12 | +thick = TableStyle.from_string("┏━┳━┓┃┃ ┣━╋━┫┣━╋━┫┗┻━┛") |
| 13 | +thick_box = TableStyle.from_string("┏━┳┳┓┃┃┃┣━╋╋┫┣━╋╋┫┗┻┻┛") |
11 | 14 | thick_compact = TableStyle.from_string("┏━┳━┓┃┃ ┣━╋━┫ ┗┻━┛")
|
12 | 15 | double = TableStyle.from_string("╔═╦═╗║║ ╠═╬═╣╠═╬═╣╚╩═╝")
|
| 16 | +double_box = TableStyle.from_string("╔═╦╦╗║║║╠═╬╬╣╠═╬╬╣╚╩╩╝") |
13 | 17 | double_compact = TableStyle.from_string("╔═╦═╗║║ ╠═╬═╣ ╚╩═╝")
|
14 | 18 | double_thin = TableStyle.from_string("╔═╦═╗║║ ╟─╫─╢╠═╬═╣╚╩═╝")
|
15 |
| -minimalist = TableStyle.from_string(" ─── ━━━ ─── ── ") |
| 19 | +double_thin_compact = TableStyle.from_string("╔═╦═╗║║ ╟─╫─╢╠═╬═╣╚╩═╝") |
| 20 | +minimalist = TableStyle.from_string(" ─── │ ━━━ ─── ── ") |
| 21 | +borderless = TableStyle.from_string(" ┃ ━ ") |
| 22 | +ascii = TableStyle.from_string("+-+-+|| +-+-++-+-+++-+") |
| 23 | +ascii_box = TableStyle.from_string("+-+++|||+-++++-+++++++") |
16 | 24 | ascii_compact = TableStyle.from_string("+-+-+|| +-+-+ ++-+")
|
17 | 25 | ascii_double = TableStyle.from_string("+-+-+|| +=+=++-+-+++-+")
|
18 |
| -ascii_minimalist = TableStyle.from_string(" --- === --- -- ") |
| 26 | +ascii_minimalist = TableStyle.from_string(" --- | === --- -- ") |
| 27 | +ascii_borderless = TableStyle.from_string(" | - ") |
| 28 | +ascii_simple = TableStyle.from_string(" = | = ") |
19 | 29 | markdown = TableStyle.from_string(" ||||-||| ")
|
20 | 30 |
|
21 | 31 | # prints all themes with previews
|
|
24 | 34 |
|
25 | 35 | styles = {
|
26 | 36 | "thin": thin,
|
| 37 | + "thin_box": thin_box, |
27 | 38 | "thin_rounded": thin_rounded,
|
28 | 39 | "thin_compact": thin_compact,
|
29 | 40 | "thin_compact_rounded": thin_compact_rounded,
|
30 | 41 | "thin_thick": thin_thick,
|
31 | 42 | "thin_thick_rounded": thin_thick_rounded,
|
32 | 43 | "thin_double": thin_double,
|
33 | 44 | "thin_double_rounded": thin_double_rounded,
|
| 45 | + "thick": thick, |
| 46 | + "thick_box": thick_box, |
34 | 47 | "thick_compact": thick_compact,
|
35 | 48 | "double": double,
|
| 49 | + "double_box": double_box, |
36 | 50 | "double_compact": double_compact,
|
37 | 51 | "double_thin": double_thin,
|
| 52 | + "double_thin_compact": double_thin_compact, |
38 | 53 | "minimalist": minimalist,
|
| 54 | + "borderless": borderless, |
| 55 | + "ascii": ascii, |
| 56 | + "ascii_box": ascii_box, |
39 | 57 | "ascii_compact": ascii_compact,
|
40 | 58 | "ascii_double": ascii_double,
|
41 | 59 | "ascii_minimalist": ascii_minimalist,
|
| 60 | + "ascii_borderless": ascii_borderless, |
| 61 | + "ascii_simple": ascii_simple, |
42 | 62 | "markdown": markdown,
|
43 | 63 | }
|
44 | 64 | for style in list(styles.keys()):
|
|
56 | 76 | last_col_heading=False,
|
57 | 77 | style=styles[style],
|
58 | 78 | )
|
59 |
| - print(f"### `{style}`\n\n```\n{full}\n{body_only}```\n") |
| 79 | + print(f"### `{style}`\n\n```\n{full}\n\n{body_only}\n```\n") |
0 commit comments