Skip to content

Listing for blog post looks for title in code cell comments #13049

@cderv

Description

@cderv

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

Metadata

Metadata

Assignees

Labels

astissues related to AST processingbugSomething isn't workinglistings

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions