Skip to content
Discussion options

You must be logged in to vote

Pre-render and post-render scripts are a project level features (this is why the page title is "Project Scripts", see https://quarto.org/docs/projects/scripts.html), thus the requirement to be in such setup.
Here your extension is defining two things: a project template and an html format template which are not tied together in the extension, so you have to use your extension to setup the project (thus have access to pre-render) then use the extension to have the html format, which requires the project in which it is used to be the one from the extension.
This setup is not really straightforward if I may.
I don't see (I might be missing something) why you need to have a pre-render and not…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mcanouil
Comment options

Answer selected by dweng0
@dweng0
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
extensions relates to Quarto extensions mechanism
2 participants