This page https://quarto.org/docs/output-formats/html-basics.html#includes is out of date as  only `include-in-header`, `include-before-body`, `include-after-body` should be used, with the `text:` sub field if needed

PDF doc is correct https://quarto.org/docs/output-formats/pdf-basics.html#latex-includes

@cwickham assigning you too in case you want to tackle this. Otherwise I'll do it after bug fixing
cderv
2023-03-02T14:44:24Z
cderv
documentation
v1.3
closed
Fix HTML includes documentation to be the same as PDF
https://github.com/quarto-dev/quarto-cli/issues/4599