-
Crossref over multiple files is highly expected. Considering such a use case, the Is it possible to accomplish this? Below is a MWE.
---
title: main text
---
see [@fig-aaa].
---
title: supplementary materia
---
see [@fig-aaa].
```{r}
#| label: fig-aaa
#| fig-cap: aaa
plot(1)
```
|
Beta Was this translation helpful? Give feedback.
Answered by
cscheid
Nov 17, 2022
Replies: 1 comment 5 replies
-
I believe this works for book projects, but not for website projects. I agree that it would be ideal to support it more generally, but we don't have that right now. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use one of:
[link to first blog post](../blog_post_1/index.qmd)
. Relative paths are always resolved with respect to the document they reside in.[link to first blog post](/blog_post_1/index.qmd)
. Absolute paths are always resolved with respect to the project root directory.