Skip to content

gitbook-plugin-fox/gitbook-plugin-watermark-fox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitbook-plugin-watermark-fox

Create a GitBook plguin based on watermark-js-plus,it can generate custom watermark information on every GitBook html page in order to protect copyright.

Usage

  1. add watermark-fox into plugins items in your book.js file
  2. gitbook install && gitbook serve,then it will take into effect

Config

Default configuration listed as below:

pluginsConfig: {
  'watermark-fox': {
    enable: true,
    width: 200,
    height: 200,
    content: 'www.gitbook.com',
    fontColor: '#d0d0d0'
   }
}

but we can modify it based on our custom requirements according to config:

pluginsConfig: {
  'watermark-fox': {
    enable: true,
    width: 200,
    height: 200,
    content: 'www.foo.com',
    fontColor: '#f1f1f1'
   }
}

If we set enable to false, it will not create watermark anymore.

Example

Watermark example

Acknowledgement

https://zhensherlock.github.io/watermark-js-plus/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published