Replies: 1 comment 10 replies
-
Where is this check happening, and what are the further actions? |
Beta Was this translation helpful? Give feedback.
10 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.
-
Description
I need to check whether a specific file exists in the Quarto render directory before proceeding with further actions. While I can override the file on each render, I would like to try to preserve it as users may modify it or substitute in their values.
Given this conundrum, I'm wondering if it is okay to list the resource under
contributes
instead of trying to register it withquarto.doc.add_supporting()
/quarto.doc.add_format_resource(path)
/quarto.doc.add_html_dependency()
, e.g.https://quarto.org/docs/extensions/filters.html#filter-extensions
I only saw one example of using a
resource
-like key inside of the dev article on Custom formats.Beta Was this translation helpful? Give feedback.
All reactions