diff --git a/src/site/markdown/usage.md b/src/site/markdown/usage.md index d406a02..8bb4741 100644 --- a/src/site/markdown/usage.md +++ b/src/site/markdown/usage.md @@ -27,17 +27,10 @@ The following advanced script tag attributes are supported: * `nonce` = {string} * `referrerpolicy` = no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-url * `type` = module | text/javascript +* `customAttributes` - set arbitrary HTML attributes, e.g. `customAttributes=['attr1=value 1','data-attr2=5','attr3']` See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#Attributes for a full documentation of this attributes. -It is possible to set a list of custom attributes: - -```html - -``` - ### Include CSS Files @@ -51,14 +44,4 @@ Include CSS without special attributes: The following advanced link tag attributes are supported: * `rel` = prefetch | preload (if not given, `rel="stylesheet" type="text/css"` is set) - - -### Custom Attributes - -It is possible to set a list of custom attributes: - -```html - -``` +* `customAttributes` - set arbitrary HTML attributes, e.g. `customAttributes=['attr1=value 1','data-attr2=5','attr3']`