Relative Content

Tag Archive for ryamlquarto

How to dynamically create Quarto code chunk options

I want to create some functions for my team that standardize Quarto code chunk options. Is this possible? I want to control not just label, echo, and eval, but I want to include some other options like setting the classes argument based on the input content.

Add external yaml file in yaml header Quarto

I would like to load an external yaml file in the yaml header of a qmd document (Quarto). I tried using !include <.yaml> in my yaml header as described here, but this doesn’t seem to work. First I create a yaml file called external_yaml.yaml: