Skip to content

Can custom floats work with compact syntax? #11394

Answered by cscheid
d-morrison asked this question in Q&A
Discussion options

You must be logged in to vote

It won't be an easy thing to change, because it will require us to teach knitr about custom crossrefs. The syntax we would support would be something like

```{r}
#| label: suppfig-fig1
#| suppfig-cap: "a figure"
plot(1:10)
```

But don't hold your breath, this is a harder change than it appears.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by d-morrison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants