Description Usage Arguments Value Examples
Turns a string of html into the equivalent shiny code
1 | turn_shiny(html, remove_newlines = TRUE, file = NULL)
|
html |
a string of complete html |
remove_newlines |
whether or not to remove newlines from the string |
file |
default (NULL) is to return the object, if this is set it will write to file |
a function call that produces the equivalent shiny objects
1 2 3 | html <- '<div class="example"><h3>test</h3></div>'
turn_shiny(html)
eval(turn_shiny(html))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.