We can add a download button to the UI using downloadButton()
, and write
the content of the file in downloadHandler()
in the server
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.