Skip to content
Discussion options

You must be logged in to vote

I think this is because you are using a downloadHandler() so this will offer the user to download the HTML.
However it does not offer to download a folder, so the CSS will not be downloaded, and the the HTML report will be missing the resource file. Using embed-resource: true could help with that.

However, you need to take care of how and where your files are rendered, accordingly to how quarto_render() is working - You are running the function from a R working dir that is different than where your file really are, and currently output the file in another directory.

It is best to do everything in the same folder really. And then move files yourself.

See how I modify your server part

server 

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@RegalPlatypus
Comment options

Comment options

You must be logged in to vote
2 replies
@RegalPlatypus
Comment options

@cderv
Comment options

cderv Jul 6, 2023
Maintainer

Answer selected by RegalPlatypus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js) shiny Related to shiny integration for interactive document
3 participants