mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 03:42:34 +02:00
docs: document tag types for insertHtmlContent (#8292)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
8f6dde5544
commit
7ffa9f7689
1 changed files with 6 additions and 0 deletions
|
@ -397,6 +397,12 @@ module.exports = function (context, options) {
|
|||
};
|
||||
```
|
||||
|
||||
Tags will be added as follows:
|
||||
|
||||
- `headTags` will be inserted before the closing `</head>` tag after scripts added by config.
|
||||
- `preBodyTags` will be inserted after the opening `<body>` tag before any child elements.
|
||||
- `postBodyTags` will be inserted before the closing `</body>` tag after all child elements.
|
||||
|
||||
## `getClientModules()` {#getClientModules}
|
||||
|
||||
Returns an array of paths to the [client modules](../../advanced/client.md#client-modules) that are to be imported into the client bundle.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue