Open
Description
Bug description
The line numbers disappear from the presentation when lst-label
and lst-cap
chunk attributes are used.
Steps to reproduce
---
title: "Lecture 1"
format:
revealjs:
incremental: true
slide-number: true
code-overflow: scroll
code-copy: true
chalkboard:
theme: whiteboard
execute:
echo: false
warning: false
---
## Motivation
```{python}
#| echo: true
#| lst-label: lst-import-libs
#| lst-cap: "Import Libraries"
#| code-line-numbers: 1,2
import pandas as pd
import numpy as np
```
## Motivation 2222
```{python}
#| echo: true
#| label: lst-import-libs2222
#| code-line-numbers: 1,2
import pandas as pd
import numpy as np
```
Refer to @lst-import-libs and @lst-import-libs2222.
Expected behavior
Code line numbers should show up in the presentation.
Actual behavior
Code line numbers are missing from the presentation.
Your environment
- VS Code 1.96.2
- Windows 11
- Quarto 1.6.39
- Python 3.10.16
Quarto check output
Quarto 1.6.39
[>] Checking environment information...
Quarto cache location: C:\Users\chiuw\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.6.39
Path: C:\Users\chiuw\AppData\Local\Programs\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[>] Checking LaTeX....................OK
Tex: (not detected)
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.10.16 (Conda)
Path: C:/Users/chiuw/miniforge3/envs/env_AutoGluon_202412/python.exe
Jupyter: 5.7.2
Kernels: python3
[>] Checking Jupyter engine render....OK
[>] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/