Post-processing of HTML output #5462
Unanswered
MinimizationOrg
asked this question in
Q&A
Replies: 1 comment
-
What does it mean "quite slow"? Compared to what? In which context? Could you elaborate on this? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I have a program called
postprocess
that, given an input HTML file, produces an output HTML file:postprocess input.html > output.html
My question is how to introduce this post-processing into the Quarto pipeline. My current solution is to have a bash script
do_post_processing.sh
that searches recursively for all HTML files in a folder and appliespostprocess
, then to call this bash script as apost-render
:However, this is highly inefficient as it processes all the HTML files every time, even if only one of them is new. For example, when using Quarto preview in VS Code, only one HTML file is produced at a time and thus it is not necessary to post-process the others.
Thank you in advance for your help!
(By the way, Quarto preview is quite slow, even if only one *.md has been modified. I'm not sure if this is expected...)
Beta Was this translation helpful? Give feedback.
All reactions