-
Notifications
You must be signed in to change notification settings - Fork 362
Closed
Description
Figures are generated in the directory in which the .qmd
lives.
But in the context of a self-contained HTML, when including .qmd
files from a subdirectory, images are not retrieved by the main document: [WARNING] Could not fetch resource content/index_files/figure-html/fig2-1.png
I tried setting execute-dir: project
, but same result, i.e., the figure from the included .qmd
is not found.
I found nothing in https://quarto.org/docs/authoring/includes.html, but I might have missed something.
quarto-cli#951
├── content
│ └── fig2.qmd
└── index.qmd
---
title: 'quarto-dev/quarto-cli#951'
author: Mickaël Canouil, *Ph.D.*
format:
html:
self-contained: true
---
## Figure
```{r}
#| label: fig1
plot(2)
```
{{< include content/fig2.qmd >}}
Example: https://github.com/mcanouil/quarto-issues/tree/main/quarto-cli%23951
Version: 0.9.433
Metadata
Metadata
Assignees
Labels
No labels