Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 358 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 358 Bytes

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" ],
}