🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

docusaurus-plugin-script-tags

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docusaurus-plugin-script-tags

Docusaurus Plugin for injecting script tags

2.0.0-beta.6
latest
Source
npm
Version published
Weekly downloads
143
104.29%
Maintainers
1
Weekly downloads
 
Created
Source

Docusaurus-plugin-script-tags

yarn add docusaurus-plugin-script-tags

How to use

module.exports = {
  plugins: ['docusaurus-plugin-script-tags'],
  themeConfig: {
      tags: {
            headTags: [{
                tagName: "script",
                innerHTML: `
                console.log("we are on page", window.location.href);
                `,
            }],
        },
  },
};

FAQs

Package last updated on 26 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts