-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add .qmd
to RMarkdown extensions
#5518
Conversation
The quarto markdown system (derivative of pandoc, see https://quarto.org/) uses .qmd files for markdown. This is analagous to how R Markdown uses .rmd -- these files are run for computations and produce an .md file. There is already an RMarkdown language mode in languages.yml which I could alternately add this to, but since that one is essentially also aliasing markdown and .qmd isn't actually R Markdown I thought it better to add it as a markdown file extension.
Unfortunately, there doesn't appear to be adequate usage yet. Of the ~641 Mostly-complete search results:63 repositories:
46 users:
523 files:
|
.qmd
to RMarkdown extensions
Okay, that's fair. We haven't launched the project yet so all those users are early beta testers. I'll wait until we are well over the 200 repos and then resubmit. |
Hi there, the extension search now turns up ~ 3,500 |
Hi @jjallaire and @lildude! We are big fans of Quarto and heavily using it in our organization, we just lack the preview on GitHub.com I opened a discussion on GitHub Community, but I got no reply, unfortunately. What would be the next steps to get the preview working? Is it something I can add somewhere? Contribute to linguist? Or is it a bug on GitHub.com? Many thanks! |
All this sort of rendering is handled by the markup library so that would be a good place to start. As an aside: I'm not involved in that project in anyway. |
Hi @rogerbramon over the years there was much debate about whether GitHub should be rendering Note that GitHub only renders a subset of markdown so |
Thanks, @jjallaire for the context. I was able to find the debate and that the preview for RMarkdown was reverted. I see the point, and I have mixed feelings about that. Perhaps because we use Quarto more for writing documentation and reports than notebooks and embedding code. In that case, I would refer having the preview because I can see the images, tables, and so on. We really love to take advantage of the features that Quarto adds on top of Markdown like captions, citations, cross-references, etc. |
Note that if GitHub rendered the |
Description
The quarto markdown system (derivative of pandoc, see https://quarto.org/) uses
.qmd
files for markdown. This is analogous to how R Markdown uses.rmd
-- these files are run for computations and produce an.md
file.Checklist:
lessons.qmd
anwendung.qmd
install.qmd