Skip to content

Document "reserved" YAML parameters #13351

@christopherkenny

Description

@christopherkenny

What would you like to do?

Report an issue on quarto.org

Description

There have always been YAML parameters that can't be used aside from their official purpose, such as authors, as these get processed by Quarto. This is discussed implicitly in the explanation of the normalization of author schema here.

With the introduction of brand.yml processing, this has extended to include some larger set of parameters that can't be used by template authors. For example, in custom formats for Typst, you can no longer use logo as a parameter without special care, as it gets eaten up by the brand processing.1 Ideally, when brand.yml isn't used, this behavior wouldn't occur, but that seems a bit complicated and harder to work with.

As such, I think it would be very helpful to create a short page under the creating extensions pages which documents which parameters are, in a sense, now reserved and can't be used for custom templates. Perhaps also keeping track of when they become "reserved" and by what feature.

Footnotes

  1. In the case of logo, if you were previously using it as a path, then you can recover from the normalization by substituting $logo.path$, but this is not immediately clear, nor documented anywhere I could find.

Metadata

Metadata

Assignees

Labels

documentationDoc improvements & quarto-web

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions