gitbook-plugin-link-targets
v0.0.1
Published
Adds targets to links containing the keys set in config
Downloads
45
Readme
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"
}
}
}
}