2025-01-09 16:26:15 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
from wobbl_tools.text.format import format_string
|
|
|
|
from wobbl_tools.text import format
|
|
|
|
|
2025-01-13 16:59:44 +01:00
|
|
|
print("\n==== wobbl_tools.text.format =====")
|
|
|
|
|
2025-01-09 16:26:15 +01:00
|
|
|
formats = list(format.color_ansi.keys())
|
|
|
|
formats.remove("rs")
|
|
|
|
formats.remove("reset")
|
|
|
|
|
2025-01-13 16:59:44 +01:00
|
|
|
print("Is this shit looking right?\n")
|
2025-01-09 16:26:15 +01:00
|
|
|
|
|
|
|
for format_name in formats:
|
|
|
|
print(f"{format_name.title().replace("_", " ")} text: {format_string(f"§{format_name}Text")}")
|