gitbook-plugin-watermark-fox

0.0.3 • Public • Published

gitbook-plugin-watermark-fox

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:

{
    content: 'www.foo.com',
    width: 200,
    height: 200,
    fontColor: '#d0d0d0',
    enable: true
}

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

{
    content: 'www.foo.com',
    width: 200,
    height: 200,
    fontColor: '#f5f5f5',
    enable: true
}

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

Example

Watermark example

Acknowledgement

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

/gitbook-plugin-watermark-fox/

    Package Sidebar

    Install

    npm i gitbook-plugin-watermark-fox

    Weekly Downloads

    0

    Version

    0.0.3

    License

    Apache 2

    Unpacked Size

    112 kB

    Total Files

    7

    Last publish

    Collaborators

    • lucumt