makemermaid {qreport} | R Documentation |
makemermaid
Description
Create a Quarto Mermaid Diagram Chunk With Variable Insertions
Usage
makemermaid(.object., ..., file)
Arguments
.object. |
character string or vector with |
... |
name=value pairs that makes values replace |
file |
name of file to hold ```{mermaid} %%| fig-cap: "Consort diagram produced by `mermaid`" %%| label: fig-mermaid1 %%| file: mermaid1.mer ``` |
Details
Takes a character string or vector and uses knitr::knit_expand()
to apply variable insertions before the diagram is rendered by Quarto. See this for an example.
Value
nothing; used to knitr::knit_expand()
mermaid markup
Author(s)
Frank Harrell
See Also
[Package qreport version 1.0-1 Index]