Rich Text API (bd103.richtext)

Does some fun assorted things with ANSI color codes.

This module originally came from a small project called Dogelib. That project is now archived, but the code lives on.

See also

bd103.richtext.make_colorful(text: str, palette: str = 'basic') str[source]
bd103.richtext.make_rainbow(text: str, palette: str = 'basic') str[source]