-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render a document from a script (.R, .py) #6660
Comments
In this line, VSCode has support for plain This lets you work with plain text files but have the ability to view output like a notebook. If this is your development flow (like it is mine), being able to "log" the script afterwards would be delightful! |
First work for Python |
1.4 prerelease support for rendering script using Jupyter engine knitr engine support with |
Getting this to work (minimally) should work for an For markdown, currently you use roxygen style comments # %% [markdown]
r'(
# Header
Body text
)' |
This idea cames from several discussion - especially on the R side as we have
knitr::spin()
andrmarkdown::render()
working with R script.qmd
inknitr::spin()
yihui/knitr#2284quarto render
could consider rendering to output format a .R / .py script that represents a notebook.Notes
These are from internal discussion on this already
General
Example for .py :
# %% [markdown]
if we see this, then we auto renderOther idea: Requiring a title field in YAML header
For Python
This issue is to track the idea and have a place for further notes.
The text was updated successfully, but these errors were encountered: