quarto-dev / quarto-dev/quarto-cli

Listing for blog post looks for title in code cell comments

Open
#13,049 4 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Jul 8, 2025.

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

Description

Found by @mcanouil

quarto create project blog test-blog

than set in posts/welcome/index.qmd to

---
author: "Harlow Malloc"
date: "2025-07-08"
categories: [news, code, analysis]
image: "image.jpg"
---

```{r}
#| include: false
# A regular comment inside a code cell
print("Hello, World!")
```

{{< lipsum >}}

Not the # in comment for code cell, and no title in the YAML

Blog post has no title which is expected

Image

But listing do promote the first header found, which leads to selecting comment

Image

In some ways related to

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.