Skip to content

zhaoda/gitbook-plugin-editlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published