0.3.11 • Published 6 years ago

metalsmith-transclude v0.3.11

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

metalsmith-transclude

Version Build Status

A metalsmith plugin to transclude documents.

Installation

$ npm install metalsmith-transclude

CLI Usage

Install via npm and then add the metalsmith-tranclude key to your metalsmith.json plugins, like so:

{
  "plugins": {
    "metalsmith-transclude": {
      "comments": false
    }
  }
}

This will follow expressions of this form:

index.md:

:[](include/file.md)

include/file.md:

Hi!

and include them inside the build: build/index.md:

Hi!

TODO:

  • Allow transclusion of remote content (this might already work)
  • Add options to parameterise transclusions.

License

MIT

0.3.11

6 years ago

0.3.10

6 years ago

0.3.8

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.2

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago