Description Usage Arguments See Also Examples
The pre
function adds a maximum height and scroll bar to the standard
<pre>
element.
1 |
... |
Text, tag elements, or named arguments passed as HTML attributes to the tag. |
Other components:
alert()
,
badge()
,
blockquote()
,
card()
,
collapsePane()
,
d1()
,
dropdown()
,
img()
,
jumbotron()
,
modal()
,
navContent()
,
popover()
,
toast()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ### Simple example
pre(
"shinyApp(",
" ui = container(",
" columns(",
" column(",
" ",
" )",
" )",
" )",
" server = function(input, output) {",
" ",
" }",
")"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.