Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 416 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 416 Bytes

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);
                `,
            }],
        },
  },
};