Can you run quarto render with local copies of the CSS and JS? #11528
-
DescriptionFor my use case, the machine I view the results of Is there a way to provide these libraries locally? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Which libraries exactly ?
Otherwise, it will use some CSS and JS libraries usually from CDN based on what is in the template, or based on which R or Python libraries you are using that could provide also some JS dependencies. Usually this require internet access are viewing time to load everything in browser from the HTML rendered by Quarto. Did you encountered a specific issue ? |
Beta Was this translation helpful? Give feedback.
Part of what Quarto uses will be shipped with Quarto. This means that doing
quarto render
will copy the right files intosite_libs
for a quarto website for example; This means bootstrap won't be downloaded for example.For plotly, it won't be shipped with Quarto. it will be provided by other tooling like Python or R libaries that will either bundle or linked to online plotly JS.
I would say that doing
quarto render
on an environment without internet should mostly work for HTML. Though previewing on same environment will require internet ac…