Shinylive app with hugo
Shinylive app with hugo
This blog post is based upon RamiKrispin/shinylive where we will take a look in to using Shiny with python and leveraging WebAssembly to let it run in the browser with out a backend. This allows for interactive static webpages.
In order to add the a shiny app it needs to be deployed, in this case that is handled through github pages and lives within https://github.com/NikeNano/shinylive. The second step is to add the iframe:
<iframe
src="https://nikenano.github.io/shinylive/"
style="height:800px;width:100%;"
></iframe>
and the third and last is to update the config config.toml
file with:
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true