Skip to content

zlq4863947/gitbook-plugin-insert-head-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insert tag in head for GitBook

To use the insert-head-tag in your Gitbook project, add the insert-head-tag plugin to the book.json file, and configure the tag you want to insert.

{
    "plugins": ["livere"],
    "pluginsConfig": {
        "insert-head-tag": {
            "tags": [
                "<script data-ad-client='ca-pub-4774215405699477' async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'>",
                "<link rel='shortcut icon' href='gitbook/images/favicon.ico' type='image/x-icon'>"
            ]
        }
    }
}

Then run gitbook install to download and install the plugin.

About

GitBook Plugin to insert tag in head

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published