gitbook-plugin-include

Plugin for Gitbook which inserts external files into the books Markdown.

Usage no npm install needed!

<script type="module">
  import gitbookPluginInclude from 'https://cdn.skypack.dev/gitbook-plugin-include';
</script>

README

gitbook-plugin-include

Preprocess your Markdown files, replacing all instances of

!INCLUDE "file.md"

with the contents of the specified file. The file can be a multi-level path.

Usage

Add to your book.json plugin list:

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