editlink

README

gitbook-plugin-editlink

GitBook Plugin to add \"Edit this page\" link on every page. Link target will be that page's source file on Github or any repo.

{
  "plugins": ["editlink"],
  "pluginsConfig": {
    "editlink": {
      "base": "https://github.com/zhaoda/webpack-handbook/edit/master/content",
      "label": "Edit This Page",
      "multilingual": false
    }
  }
}

If you are using multiple languages in gitbook, set label like this:

{
    "label": {
        "en": "Edit This Page",
        "zh-cn": "编辑本页"
    }
}

Then run gitbook install to download and install the plugin.

Configuration

Setting Description Type Allowed values
base
required
Base for the edit redirection String
-
label Label for the edit button String | Object
default = Edit This Page
-
multilingual Using multiple languages Boolean
-

Plugin

GitBook Plugin to add "Edit this page" link on every page. Link target will be that page's source file on Github or any repo.

https://github.com/zhaoda/gitbook-plugin-editlink


Latest: 1.0.2

1.0.0, 1.0.1, 1.0.2,

Requirements

GitBook
1.0.2 >=2.5.0

Maintainers

Open on NPM