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-busuanzi with all npm packages installed. Try it out:

var gitbookPluginBusuanzi = require("gitbook-plugin-busuanzi")

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

gitbook-plugin-busuanzi v0.0.3

The statistics of busuanzi

Page Footer with busuanzi for Gitbook

Add the statistics of busuanzi at the footer of gitbook.

Usage

Add it to your book.json:

{
  "plugins": ["busuanzi"],
  "pluginsConfig": {
    "page-footer-ex": {
      "copyright": "By <em>AUTHOR NAME</em>",
      "markdown": false
    }
  }
}

or

{
  "plugins": ["busuanzi"],
  "pluginsConfig": {
    "page-footer-ex": {
      "copyright": "[mrcode](https://github.com/caimaoy)",
      "markdown": true
    }
  }
}

Configuration Properties

{
  "copyright": {
    "type": "string",
    "default": "© All Rights Reserved",
    "title": "Your copyright message",
    "description": "Copyright text"
  },
  "markdown": {
    "type": "boolean",
    "default": false,
    "title": "",
    "description": "Default false for plain text/HTML, true to parse copyright and update_label as Markdown"
  }
}
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