Is there a way to have a ```mermaid chunk in README.md that would also be rendered in the pkgdown website? Or is the only solution something like this in a README.qmd and let webshot2 convert it to an image on render?
---
format: gfm
---
```{r}
#| echo: false
DiagrammeR("
graph TD
A[one] --> B[two]
")
```
Is there a way to have a ```mermaid chunk in README.md that would also be rendered in the pkgdown website? Or is the only solution something like this in a README.qmd and let webshot2 convert it to an image on render?