Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gitbook-plugin-local-pagefooter with all npm packages installed. Try it out:

var gitbookPluginLocalPagefooter = require("gitbook-plugin-local-pagefooter")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gitbook-plugin-local-pagefooter v1.0.5

Customize the footer of each article, you can add copyright and document reversion of time

gitbook-plugin-local-pagefooter

English 简体中文

Customize the footer of each article, you can add copyright and document reversion of time. The time can be local or UTC.

Install

npm install gitbook-plugin-local-pagefooter

or in book.json

"plugins":{
    "local-pagefooter",
}
and run
gitbook install

Useage

"plugins":{
    "local-pagefooter",
}

Configuration

"local-pagefooter": {
  "copyright":"&copy someone",
  "islocal" : true, // true/false
  "modify_label": "The document reversion time: ",
  "modify_format": "YYYY-MM-DD HH:mm:ss"
}

fields copyright and modify_label support html code.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free