References to lines of code using `# <n>` are only displayed correctly in the first tabset:

````
---
title: "test"
format: html
editor: visual
---

::: {.panel-tabset}
## tab1

```{r}
2 * 2 # <1>
```

1. test1

## tab2

```{r}
2 * 2 # <1>
```

1. test2
:::

::: {.panel-tabset}
## tab1

```{r}
2 * 2 # <1>
```

1. test1

## tab2

```{r}
2 * 2 # <1>
```

1. test2
:::

````


dragonstyle
2023-05-12T19:22:32Z
tsimonato
bug triaged-to
closed
Code annotation in tabsets
https://github.com/quarto-dev/quarto-cli/issues/5559