gitbook-plugin-include-codeblock
GitBook Plugin for including file.
Installation
book.json
{
"plugins": [
"include-codeblock"
]
}
and
gitbook install
Examples
./assets/test.js
console.log("hello world");
Write following the link with include
or import
label.
Result
console.log("hello world!");