0.0.3 • Published 5 years ago

gitbook-plugin-busuanzi v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Page Footer with busuanzi for Gitbook

npm.io

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"
  }
}