quarto-dev / quarto-dev/quarto-r
"html_fragment" and "envir" functionality from Rmd?
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 161
- Forks
- 29
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 1
Description
I often used two features of Rmarkdown that I can't find equivalents for:
- the ability to create html fragments (html documents without headers) (with https://rmarkdown.rstudio.com/html_fragment_format.html), and
- the ability to compile a document with
rmarkdown::renderin a specified environment (via theenvirargument) so that I could pass data objects to the document.
I can't find equivalents to these in quarto. I thought standalone: false might do it, based on the description ("Produce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)", from https://quarto.org/docs/reference/formats/html.html) but as far as I can tell, that option does not change the compilation of my documents at all.
Are there equivalents to these? Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the R interface to Quarto and comparing its document-rendering entry point with rmarkdown::render, especially the envir argument and standalone: false format option. Verify whether equivalent workflows already exist; if not, establish the expected behavior for HTML fragments and passed data objects and add coverage for both.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100