You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per Quarto documentation, notebook figures with ids starting with feature, cover and thumbnail would be preferentially used as thumbnails in the listings. However, the regex for locating these figures (in the current discover-meta.ts):
does not include *.svg, so SVG figures are skipped regardless of the figure ID.
It seems, there should be no technical issues with using SVGs: the notebooks, where the only figure is in SVG format, show nicely in the listings. In fact, SVGs are much better for downscaling than the raster formats.
Steps to reproduce
I can provide the MRE, if required, but the issue here is quite straightforward, and the MRE would include 2 notebooks and 2 figures.
Actual behavior
SVG figure with the ID starting with cover is not used as the thumbnail.
Instead, another figure in .png format and the ID that does not start with cover/feature/thumbnail is used as the thumbnail.
Expected behavior
SVG figure is used as the thumbnail.
Your environment
IDE: VS Code 1.99.3
OS: Ubuntu 24.10
Quarto check output
Quarto 1.6.42
[✓] Checking environment information...
Quarto cache location: /home/ubuntu/.cache/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.42
Path: /opt/quarto/bin
[✓] 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.12.7
Path: /home/ubuntu/.local/bin/python3
Jupyter: 5.7.2
Kernels: ir, julia-1.11, python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.4.1
Path: /usr/lib/R
LibPaths:
- /home/ubuntu/R/x86_64-pc-linux-gnu-library/4.4
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.50
rmarkdown: 2.29
[✓] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered:
Bug description
Per Quarto documentation, notebook figures with ids starting with
feature
,cover
andthumbnail
would be preferentially used as thumbnails in the listings. However, the regex for locating these figures (in the current discover-meta.ts):does not include
*.svg
, so SVG figures are skipped regardless of the figure ID.It seems, there should be no technical issues with using SVGs: the notebooks, where the only figure is in SVG format, show nicely in the listings. In fact, SVGs are much better for downscaling than the raster formats.
Steps to reproduce
I can provide the MRE, if required, but the issue here is quite straightforward, and the MRE would include 2 notebooks and 2 figures.
Actual behavior
SVG figure with the ID starting with
cover
is not used as the thumbnail.Instead, another figure in
.png
format and the ID that does not start with cover/feature/thumbnail is used as the thumbnail.Expected behavior
SVG figure is used as the thumbnail.
Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: