Skip to content

Commit

Permalink
Documentation (#7604)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsmrynk authored Oct 9, 2024
1 parent f0c99d8 commit 10177cc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/plugins/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,3 +484,16 @@ Instead, always use fully qualified URLs:
``` js
const url ="https://example.com/script.js"
```

Note that the plugin does not scan embedded HTML for external assets –
this is related to MkDocs, as it does not process HTML
(not to be confused with the generated HTML) in the plugin pipeline.
To self-host external assets of an embedded HTML,
it has to be explicitly listed under [`extra_templates`][extra_templates] in `mkdocs.yml`:

[extra_templates]: https://www.mkdocs.org/user-guide/configuration/#extra_templates

``` yaml
extra_templates:
- embed.html
```

0 comments on commit 10177cc

Please sign in to comment.