shiny.ui.output_text_verbatim(id, placeholder=False)#

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.

  • id (str) – An input id.

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

Return type

A UI element

See also

text, output_text


See output_text()