: Executed when all of the html has been compiled.
This hook receives the full html of the document. With great power comes great responsibility.
- Can be used to compress the html/css/js.
- Could be used to programmatically extract h2/h3 tags and build/inject a table of contents with something like Cheeriojs.
- If you need to modify the final html output, here is where you can do it.
Stable · Location: Page.ts