You can control many other “whole document” settings by tweaking the parameters of the YAML header. You might wonder what YAML stands for: it’s “YAML Ain’t Markup Language”
Self contained
HTML documents usually have external dependencies (e.g., images, CSS style sheets, etc.) so if you set in the YAML under format:, html: and then embed-resources: true the resulting document will be self-contained.