Direct Quarto to embed-resources: using YAML

The page you reference are all HTML format options (Quarto - HTML Options) , so they go under format

format:
  html:

"How to use" are more in the Guide docs, where you can find example for the key
https://quarto.org/docs/output-formats/html-publishing.html#standalone-html