Skip to content
Discussion options

You must be logged in to vote

Btw, this also works (surprisingly to me!)

---
title: Test
---

See @fig-subfig-1 and @fig-subfig-2.

::: {#fig-example-multiple-chunks layout="[[ 25, 75 ]]"}

```{r}
#| label: fig-subfig-1
#| fig-cap: Cars
#| echo: false
#| fig-width: 2
#| fig-height: 5
plot(cars)
```

```{r}
#| label: fig-subfig-2
#| fig-cap: Pressure
#| echo: false
#| fig-width: 6
#| fig-height: 5
plot(pressure)
```

Charts

:::

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
18 replies
@cscheid
Comment options

@cscheid
Comment options

@andrewheiss
Comment options

@cscheid
Comment options

Answer selected by andrewheiss
@andrewheiss
Comment options

@cscheid
Comment options

@cscheid
Comment options

@andrewheiss
Comment options

Comment options

You must be logged in to vote
1 reply
@andrewheiss
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants