Skip to content

ANSI#

This format supports ANSI Escape Codes.

Default

Since it can be used to create plain text documents, this format is chosen as the default.

Procedure#

This format is implemented by the AnsiFormatter.

Formatting

Refer to the procedure outlined in the Formats documentation for an overview of the steps common to all formats.

Translation#

This format doesn't require any translation.

Source

Refer to the translate function for more information.

Colorization#

Using the sty Python library, color is applied to the elements of the text_matrix.

Source

Refer to the color function for more information.

Unification#

Elements of each row of the text_matrix are joined to form lines, which are further joined to form one huge string of text.

Source

Refer to the unify function for more information.