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

var gitbookPluginOpenwrite = require("gitbook-plugin-openwrite")

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

gitbook-plugin-openwrite v0.0.5

openwrite is a gitbook plugin that unlocking blob by wechat

gitbook-plugin-openwrite

npm version npm-download npm-license github 微信公众号-雪之梦技术驿站-brightgreen.svg

Usage

  • Install this plugin

Add openwrite to plugins in book.json configuration file.

{
    "plugins" : ["openwrite"]
}

Install openwrite via npm or gitbook .

$ npm install gitbook-plugin-openwrite

or

$ gitbook install
  • Configure this plugin

Add it to your book.json with a basic configuration

{
    "pluginsConfig":{
        "openwrite":{
            "blogId": "15702-1569305559839-744",
            "name": "雪之梦技术驿站",
            "qrcode": "https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg",
            "keyword": "vip"
        }
    }
}
  • Run gitbook locally

Run gitbook build or gitbook serve to verify this plugin is in effect and should not have been initialized yet.

  • Release gitbook officially

Publish to the production environment to implement the comment function really.

  • Star this plugin

If you feel this plugin is helpful, feel free to star gitbook-plugin-openwrite.

Example

The gitbook-plugin-openwrite project has been integrated with the plugin itself or you can refer to the sample project.

Feedback

I am very happy to help out with your books or any other questions you might have. see snowdreams1006

You can email me or new issue on github.

License

gitbook-plugin-openwrite is licensed under Apache-2.0 License. See LICENSE for the full license text.

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