How to configure quarto to use a single copy of index_files when making several revealjs slides? #11728
Replies: 1 comment 1 reply
-
|
That's automatically done if you use a Quarto project. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am deploying my own site to store all my revealjs slides made by quarto. When using
quarto renderoption to renderindex.md, the outputindex.htmlfile comes with anindex_filesfolder, containing dependencies needed byindex.html, which are typically 5~6 MB, much bigger than the slideshow itself.I wonder if it is possible to configure quarto so that all output html files will reference to a global single copy of
index_filesto save disk space.Currently I deal with this issue by regex replacing all
href="index_files/..."(orsrc="index_files/...") with the url of the single copy ofindex_filesin my server, but this does not resolve the issue that quarto generates redundantindex_filesfor each.mdfile in my PC, and I have to write a script to delete them.Beta Was this translation helpful? Give feedback.
All reactions