powered by
Turns a string of html into the equivalent shiny code
turn_shiny(html, remove_newlines = TRUE, file = NULL)
a string of complete html
whether or not to remove newlines from the string
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
html <- '<div class="example"><h3>test</h3></div>' turn_shiny(html) eval(turn_shiny(html))
Run the code above in your browser using DataLab