Socket
Book a DemoInstallSign in
Socket

gitbook-plugin-watermark-fox

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-watermark-fox

Add watermark to GitBook document to protect copyright

latest
npmnpm
Version
0.0.3
Version published
Maintainers
0
Created
Source

gitbook-plugin-watermark-fox

Generate custom watermark information on every GitBook html page in order to protect copyright.

Usage

  • add watermark-fox into plugins items in your book.js file
  • 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/

Keywords

gitbook

FAQs

Package last updated on 14 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts