Is there a way to use post-render
when rendering to gfm
format?
#10718
Answered
by
danielvartan
danielvartan
asked this question in
Q&A
-
DescriptionHi there, 👋 I would like to run an R script after rendering a Quarto document with a GitHub README file ( ---
title: "Test"
format: gfm
post-render: "R/_post-render.R"
editor: source
---
## Test
Phasellus laoreet lorem vel dolor tempus vehicula. Idque Caesaris facere
voluntate liceret: sese habere. Ab illo tempore, ab est sed immemorabili.
Mercedem aut nummos unde unde extricat, amaras. Praeterea iter est quasdam res
quas ex communi. |
Beta Was this translation helpful? Give feedback.
Answered by
danielvartan
Sep 4, 2024
Replies: 1 comment 4 replies
-
Post-render is a project option unrelated to format. All projects options go to Where did you see that you could set this in a document? https://quarto.org/docs/projects/scripts.html#pre-and-post-render |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, but it's not a simple solution.
I found a way, as you mentioned, by creating a project file (
_quarto.yml
) like the one below.Thank you for your assistance.