Table of Content
  1. Imports
  2. Scoped imports

1. Imports 🔗

NML lets you import documents into the current document via the following syntax:

@import <PATH.nml> Note that this will import everything from the other document, such as content but also variables and references.

2. Scoped imports 🔗

If you wish to import a document, while not overwriting current variables and references, use the following:

@import[as=util] lib.nml With this syntax, any variable or reference imported will be prefixed with util.