We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0c99d8 commit 10177ccCopy full SHA for 10177cc
docs/plugins/privacy.md
@@ -484,3 +484,16 @@ Instead, always use fully qualified URLs:
484
``` js
485
const url ="https://example.com/script.js"
486
```
487
+
488
+Note that the plugin does not scan embedded HTML for external assets –
489
+this is related to MkDocs, as it does not process HTML
490
+(not to be confused with the generated HTML) in the plugin pipeline.
491
+To self-host external assets of an embedded HTML,
492
+it has to be explicitly listed under [`extra_templates`][extra_templates] in `mkdocs.yml`:
493
494
+ [extra_templates]: https://www.mkdocs.org/user-guide/configuration/#extra_templates
495
496
+``` yaml
497
+extra_templates:
498
+ - embed.html
499
+```
0 commit comments