Skip to content

crossref - combined lst- and fig- outputs are broken in Jupyter #12434

@cscheid

Description

@cscheid

Minimal repro:

---
format: html
---

```{python}
# | lst-label: lst-1
# | lst-cap: A listing caption
# | id: fig-1
# | fig-cap: A figure caption
from matplotlib.pyplot import plot

plot([1, 2, 3])
```

This works in knitr and should work in Jupyter as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions