Code wraps even when using `code-overflow: scroll` in linked `.qmd` files of Quarto manuscript
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start by reproducing with the two files in the report: a manuscript project whose _quarto.yml sets code-overflow: scroll, with index.qmd at the root and notebooks/analyses.qmd in a subfolder. Compare the rendered pre output for each file to see where the wrapping comes from, since the root page scrolls and the linked file does not. Done means the linked file's code blocks scroll horizontally like the index page, with the option applied consistently across the manuscript.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
When writing a Quarto manuscript, my linked .qmd files wrap long lines of code rather than applying a horizontal sidebar, even when specifying code-overflow: scroll in my _quarto.yml. Interestingly, the horizontal scrollbar works fine in the index.qmd file. However, the code lines wrap (rather than using a horizontal scrollbar) for linked .qmd files (e.g., files placed in a "notebooks" folder).
Steps to reproduce
_quarto.yml:
project:
type: manuscript
format:
html:
code-overflow: scroll
toc: true
index.qmd (this code yields a horizontal scrollbar, as expected):
---
title: "my-empty-project"
---
```{r}
#| results: hold
print("Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!")
print("Bye")
```
notebooks/analyses.qmd (this code wraps, which is not desired):
---
title: "Analyses"
---
```{r}
#| results: hold
print("Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!")
print("Bye")
```
Actual behavior
The long code lines wrap.
Expected behavior
Applying a horizontal scrollbar to scroll the wide code.
Your environment
Positron Version: 2026.10.0 (system setup) build 297
Windows 11
Quarto check output
E:\Documents\GitHub\apaquartoReprex> quarto check
Quarto 1.10.18
[>] Checking environment information...
Quarto cache location: C:\Users\it_petersen\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.7.14: OK
Typst version 0.15.1: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.10.18
Path: c:\Program Files\Positron\resources\app\quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[>] Checking LaTeX....................OK
Tex: (not detected)
[>] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: C:\Program Files\Google\Chrome\Application\chrome.exe
Source: Windows Registry
[>] Checking basic markdown render....OK
[>] Checking R installation...........OK
Version: 4.5.3
Path: C:/R/R-4.5.3
LibPaths:
- C:/R/Packages
- C:/R/R-4.5.3/library
knitr: 1.52
rmarkdown: 2.32
[>] Checking Knitr engine render......OK
[>] Checking Python 3 installation....OK
Version: 3.13.13
Path: C:/Program Files/Python313/python.exe
Jupyter: 5.9.1
Kernels: ark, python3
(\) Checking Jupyter engine render....[IPKernelApp] WARNING | Kernel is running over TCP without encryption. All communication (including code and outputs)is sent in plain text and is susceptible to eavesdropping. Use IPC transport or launch with kernel manager-provisioned CurveZMQ keys to enable transport encryption.
[>] Checking Jupyter engine render....OK
[>] Checking Julia installation...
- Lenguaje dominante
- JavaScript
- Estrellas
- 6.1k
- Forks
- 478
- Merge medio
- 17 h 7 min
- PR fusionados (30 d)
- 112
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quarto-dev/quarto-cli
-
enhancement websites
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/quarto-cli#15255 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Website announcement dismiss control cannot be reached or used with a keyboardPosiblemente ocupada @Xander-AJ la tomó hace 1 día. Abiertoaccessibility bug websites
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
quarto-dev/quarto-cli#15235 ·
Los mantenedores suelen responder en 1 día
-
quarto.json.decode does not raise on invalid JSON, so pcall cannot catch itPosiblemente ocupada @sogav21 la tomó hace 2 días. Abiertobug lua
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
quarto-dev/quarto-cli#15226 ·
Los mantenedores suelen responder en 1 día
-
arrow-dark gives region markers a light band that fails contrastPosiblemente ocupada @vav7 la tomó hace 2 días. Abiertoaccessibility bug themes
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
quarto-dev/quarto-cli#15222 ·
Los mantenedores suelen responder en 1 día
-
bug code-annotation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
quarto-dev/quarto-cli#15215 ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/quarto-cli
Issues similares
-
bug confirmed js v6
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
BUG
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
linuxmint/cinnamon-spices-applets#9223 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nopSolutions/nopCommerce#8440 ·
Los mantenedores suelen responder en 1 día
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día