gitbook-plugin-redirect

0.0.7 • Public • Published

gitbook-plugin-redirect

Preprocess your Markdown files, replacing all instances of

!REDIRECT "NEW_PATH"

with a redirect to the specified path. The path can be absolute(/new/path), or relative(../new/path) or a URI(http://example.com/new/path).

Usage

Add to your book.json plugin list:

{
    "plugins" : [ "redirect" ],
}

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-redirect

Weekly Downloads

37

Version

0.0.7

License

Apache 2

Last publish

Collaborators

  • ketan