0.0.1 • Published 8 years ago

gitbook-plugin-link-targets v0.0.1

Weekly downloads
14
License
MIT
Repository
-
Last release
8 years ago

gitbook-plugin-link-targets

Straight forward plugin that adds target attributes to links that contain the keys set in the config. This allows you to have other resources live in the same subdirectory of gitbook.

Example:

The following will now have all links containing subpages to open in a new window.

{
  "plugins": ["link-targets"],
  "pluginsConfig": {
    "link-targets": {
      "targets": {
        "subpages": "_blank"
      }
    }
  }
}