ui.output_code
ui.output_code(id, placeholder=True)
Create a output container for code (monospaced text).
This is similar to output_text, except that it displays the text in a fixed-width container with a gray-ish background color and border.
Parameters
Returns
Type | Description |
---|---|
Tag | A UI element |
Note
This function is currently the same as output_text_verbatim, but this may change in future versions of Shiny.
See Also
Example
See output_text