|
2 | 2 |
|
3 | 3 | #### _A completely useless library for terminal styling._ |
4 | 4 |
|
5 | | -# **Why should I use this for terminal styling?** |
| 5 | +## **Why should I use this for terminal styling?** |
6 | 6 |
|
7 | | -- Whenever you feel insane. |
| 7 | +- Sometimes, you will feel like you're insane and would wanna hit your head on the table multiple times. So, TerCol's there if that happens. |
8 | 8 |
|
9 | | -# **What features does this library have?** |
| 9 | +## **What features does this library have?** |
10 | 10 |
|
11 | | -- Everything other libraries have. |
| 11 | +- Everything other libraries have, except for rainbowtext(). |
12 | 12 |
|
13 | | -# **How do I use this?** |
14 | | - import tercol |
15 | | - print(tercol.red('Red text')) |
16 | | - print(tercol.blue('Blue text')) |
17 | | - print(tercol.rgb(255, 215, 0, 'Gold text using RGB')) |
18 | | - print(tercol.hex('#ffd700', 'Gold text using HEX')) |
| 13 | +## **How do I use this?** |
| 14 | + |
| 15 | +```python |
| 16 | +import tercol |
| 17 | + |
| 18 | +print(tercol.red('Red text')) |
| 19 | +print(tercol.blue('Blue text')) |
| 20 | +print(tercol.rgb(255, 215, 0, 'Gold text using RGB')) |
| 21 | +print(tercol.hex('#ffd700', 'Gold text using HEX')) |
| 22 | +print(tercol.rainbowtext('Rainbow text!')) |
| 23 | + |
| 24 | +# it's that simple. |
| 25 | +``` |
| 26 | + |
| 27 | +maybe try running this too at the terminal |
| 28 | +``` |
| 29 | +py -m tercol |
| 30 | +``` |
19 | 31 |
|
20 | 32 | that's all |
21 | 33 |
|
|
0 commit comments