You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dailidong
342b28993c
|
6 years ago | |
---|---|---|
.. | ||
lib | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago |
README.md
GitBook plugin: Insert logo link
NPM package here
npm i gitbook-plugin-insert-logo-link
The following plugin inserts a logo link 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", "another plugin 1", "another plugin 2"]
}
You will also need to provide src for the logo and the href for the link url. The src can be local file, a remote URL, or base64 hash. Add the src and url into the plugin configuration in your book.json
:
{
"plugins": ["insert-logo-link", "another plugin 1", "another plugin 2"],
"pluginsConfig": {
"insert-logo-link": {
"src": "/my-logo.png",
url: "http://example"
}
}
}