8000 GitHub - zeroone/gitbook-plugin-insert-logo-link-style
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zeroone/gitbook-plugin-insert-logo-link-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitBook plugin: Insert logo Link Style

NPM package here

npm i gitbook-plugin-insert-logo-link-style

The following plugin inserts a logo into the navigation bar (above the summary and above the search input). Simply, drop a logo.png file into the root folder of your GitBook and add this plugin into your book.json:

{
    "plugins": ["insert-logo-link-style"]
}

You will also need to provide url for the logo. The url can be local file, a remote URL, or base64 hash. Add the url into the plugin configuration in your book.json:

{
    "plugins": ["insert-logo-link-style"],
    "pluginsConfig": {
        "insert-logo-link-style": {
            "src": "http://www.example.com/logo.png",
            "style": "background: none;",
            "link": "http://www.example.com",
            "target": "_blank"
        }
    }
}

The target parameter allows you to choose if the link on the logo opens in a new window or not (possible values : '' or one of the values allowed for elements).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0