Accept local, web, and cloud URI as inputs and outputs #8720
Replies: 4 comments 3 replies
-
Unlikely to happen because this make your project no longer self contained which is the main idea behind Quarto. If you want something like that, I suggest you define pre and post render scripts as defined in Quarto's documentation. |
Beta Was this translation helpful? Give feedback.
-
Thanks - the pre/post render scripts was news to me, definitely an option to consider! https://quarto.org/docs/projects/scripts.html Can you pelase speak a bit more to how the "self-contained" idea is compromised by this? The execution and rendering still remain in one place, just the inputs and outputs are elsewhere. Is it very different from using CDNs to pull necessary CSS/JS? |
Beta Was this translation helpful? Give feedback.
-
We'll keep the request in mind. What additional value would you get out of a wrapper script that did |
Beta Was this translation helpful? Give feedback.
-
@cscheid if I'm honest, I just stumbled into this functionality on papermill and thought "this would be nice in Quarto". Indeed, doing what you suggest would work for the simple use cases that come to mind at this time. As @mcanouil explains, it gets more complicated with projects. Up to now we've been talking about just publishing HTML. I've also been thinking about facilitating complete reproduction of someone else's work from a published (in approx. order of increasing complexity)
Then you compare original and published HTML outputs and call it good. 🍻 Curious to hear your thoughts on extending Quarto in that direction? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Papermill is able to run and output notebooks from and to cloud URIs, but it does not handle format conversion (only
.ipynb -> .ipynb
)It would be great if Quarto could do things like
file://path/to/notebook.ipynb -> s3://path/to/output.html
https://path/to/notebook.qmd -> gs://path/to/output.html
http(s)
would normally be read-only, unless you have a publishing mechanism defined; for others, it would look for cloud credentials in the usual places.From https://github.com/nteract/papermill :
Beta Was this translation helpful? Give feedback.
All reactions