Search code examples
r-markdownquarto

Converting R syntax to YAML syntax


How would I specify this code block

```{r, engine = "tikz", engine.opts=list(dvisvgm.opts = "--font-format=woff")}

```

using YAML syntax instead of R syntax? Something along the lines of:

```{r}
#| engine: tikz
#| engine.opts: ???
```

Solution

  • Try

    #| engine: tikz
    #| engine.opts: 
    #|   dvisvgm.opts: "--font-format=woff"