str2d.Str2D.pre

Str2D.pre(**kwargs) HTML[source]

Return HTML prefformatted text. This is useful for displaying the Str2D with different style settings in Jupyter notebooks.

Parameters:

font_size (int, optional) – The font size, by default 1.

Returns:

The HTML preformatted text.

Return type:

HTML