PDF Export Settings override in the YAML Frontmatter

Use case or problem

Some notes require specific PDF export settings to be usable.
For example, ‘wide’ notes containing large figures/diagrams, like a planning or a design document with figures.

Notes with contents, such as plannings, often need to be updated and exported again to distribute to others.
To get a readable PDF of such a note, settings like scaling and orientation need to be changed at the time of export.

These are changes that need to be reverted afterward and setup again when a new export is required.

Proposed solution

Allow for a per note PDF-export settings override in the YAML front matter.
These settings would be able to override all PDF export settings, but they’re optional (so the missing values are filled with the global settings).

These settings could indicate that they are overwritten from the default.
When updating such a setting, it could save it to the front matter.
There could also be a button (part of the indicator) to revert to the default setting for that field, removing the local setting and reverting to the default.

Current workaround (optional)

Make a front matter key to store the export settings, and configure them manually.

Related feature requests (optional)