-
Notifications
You must be signed in to change notification settings - Fork 285
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
Feature request: Add use_readme_qmd()
#1671
Comments
Along the same lines, will |
Adding a vote for |
Is there some specific reason you want |
From my perspective, no. It's more in an attempt to adopt quarto entirely. If quarto is to truly be a modernization and replacement for R Markdown, then I want to use it ubiquitously |
@jennybc I'm writing a package article I created with In one case I want to have a few different call out types as provided at https://quarto.org/docs/authoring/callouts.html#callout-types In another I am providing instructions to users to populate the contents of their Another situation is the use of |
I don't see us creating special infrastructure for quarto articles (vs. vignettes). I suspect quarto features won't be fair game in articles until / unless quarto becomes officially supported for vignettes, which is a base R and CRAN matter. README is a bit different, since "we" control the conversion of I think if you really want to use quarto features in an article, you might investigate the "pre-compiled article/vignette" approach. See the callout in this section for tips: https://r-pkgs.org/vignettes.html#sec-vignettes-how-built You could conceivably bring this up in pkgdown, though, I guess. |
I think that all makes sense! I'll let sleeping dogs lie. As an aside... though I couldn't find it online, would it be conceivable that the CRAN machines have quarto available? I know that they have Rust available, for example, but it's not documented.
Wow. Nuts. So if they didn't try and rebuild the vignette it might not even be a problem. But, alas! |
@jennybc : In theory a package could provide a vignette engine that associated .qmd files with R code to convert them to .html or .pdf, and then they could be vignettes. I think the package might need to include a quarto interpreter if you wanted this to be acceptable on CRAN. I don't know if that's feasible or not. |
Thanks @dmurdoch. I assume this sort of conversation is coming, as quarto gains traction. But I think usethis will be more of a passenger than a driver. |
For me the biggest reason to switch from .Rmd to .qmd for READMEs is the native support for https://quarto.org/docs/authoring/diagrams.html#mermaid-formats |
I switched completely to Quarto readme files with format: gfm I was struggling with pre-commit hooks which have been installed by |
You can open the file |
usethis has recently gained support for placing Quarto ( So I think this issue's time has now come. |
I really want |
I'm slowly shifting from RMarkdown to Quarto, and it would be great to have a
use_readme_qmd()
in addition to the Rmd and Md README functions.The text was updated successfully, but these errors were encountered: