This function can be used to display an explorable web app in a
1 2 3 4 | display_explorable(path, subdir = Sys.getenv("DC_EXPLORABLES_SUBDIR",
""), cdn = Sys.getenv("DC_EXPLORABLES_CDN", FALSE),
type = Sys.getenv("DC_EXPLORABLES_TYPE", "dev"), version = "latest",
index = "index.html")
|
path |
Path to the folder containing index.html. |
subdir |
The parent directory for the course. |
cdn |
A boolean indicating if asset should be served from CDN. |
type |
A string indicating whether to use dev, staging, or prod. |
version |
A string indicating the version of the asset. |
index |
Name of the html file (defaults to index.html) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.