quarto-dev / quarto-dev/quarto-cli

Can't navigate to revealjs slides if the slide title is the same as column label from gt / great_tables output

Open
#10,256 2 comments 0 reactions 2 assignees View on GitHub

@rich-iannone is already working on this.

Since Oct 22, 2024.

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

Description

Quarto version 1.5.37

If a slide has the same title as the column label of a gt/great_tables table, it's impossible to navigate to that slide. I can't replicate this issue with other table packages I've tried (e.g., knitr or itables).

R / gt

---
title: title
format: revealjs
---

## great_tables

```{r}
library(gt)
gt(head(gtcars, n = 10))
```

## mfr

some text

## model

```{r}
1 + 1
```

## something else

more text

https://github.com/quarto-dev/quarto-cli/assets/5965649/5e366f6d-ebbd-4501-a5c5-56a98126639e

Python / great_tables

---
title: title
format: revealjs
---

## great_tables

```{python}
from great_tables import GT
from great_tables.data import gtcars

(
    GT(gtcars.head(n = 10))
)
```

## mfr

some text

## model

```{python}
1 + 1
```

## something else

more text

https://github.com/quarto-dev/quarto-cli/assets/5965649/f3f1e82c-23ef-4b13-9395-89a670afd449

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.