ui.output_text_verbatim

ui.output_text_verbatim(id, placeholder=False)

Deprecated. Use output_code (for monospaced text) or output_text (for plain text) instead.

Create a output container for some text. Place a text result in the user interface. Differs from output_text in that it wraps the text in a fixed-width container with a gray-ish background color and border.

Parameters

id : str

An output id.

placeholder : bool = False

If the output is empty or None, should an empty rectangle be displayed to serve as a placeholder? (This does not affect behavior when the output is nonempty.)

Returns

: Tag

A UI element

See Also