quarto-dev / quarto-dev/quarto-cli

Provide error or feature for listings outside of websites

Open
#1,204 0 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Jun 23, 2022.

bug listings
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

Trying to generate a listing or custom listing in formats other than a Quarto project: website silently fail and doesn't do anything.

It would be great to be able to leverage listings outside of websites to generate tables, cards, grids, etc for single-page applications/reports without having to use R/Python. If it's not reasonable to add this feature to non-websites, it would be good to error/warn the user that it's not doing anything.

Minimal example - works on a website, but fails silently without the _quarto.yml file using Quarto: 0.9.600

---
format: html
listing: 
  - id: table
    type: table
    contents:
      title: "My cool report"
      subtitle: "It has neat things in it"
      date: "2022-06-23"
---

::: {#table}
:::

Checklist
  • formatted your issue so it is easier for us to read?
  • included a minimal, self-contained, and reproducible example?
  • documented the quarto version you're running, by providing the output produced by quarto check in a terminal in your issue?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.