| path_strip_shiny | R Documentation |
Useful for linking to internal files, such as with image source attributes <img src="[path]">
path_strip_shiny(path, resourcepath = "www", leading_slash = FALSE)
path |
|
resourcepath |
|
leading_slash |
|
chr without stripped directories
Other shiny:
as_js(),
glue_js(),
nm_to_id(),
path_strip_to(),
read_js(),
shiny_error_recover(),
strip_html()
path_strip_shiny("inst/app/www/img/image.jpg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.