| path_strip_to | R Documentation | 
Useful for linking to internal files, such as with image source attributes <img src="[path]">
path_strip_to(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_shiny(),
read_js(),
shiny_error_recover(),
strip_html()
path_strip_to("inst/app/www/img/myimage.svg", "www")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.