The "enclosure" pragma is used to wrap a phrase and all its subordinates with the contents of an external manuscript.
The syntax for the enclosure pragma consists of:
An exclamation point !
The keyword enclosure
A selector specified as a semantax, identifier or classname
A sourceref containing the name of the external manuscript to target.
The external manuscript must be in BLUEPHRASE format. Also, there must be a --target-matter pragma somewhere within it.
The target may be an absolute path specifying the target from the file system's root, or a relative path, specifying the target using dot notation (.\filename.blue) or dot-dot notation (..\other-dir\filename.blue).
The enclosing process
Enclosure pragmas should be defined at the beginning of manuscripts.
During manuscript compilation, the BLUEPROCESSOR will attempt to match each phrase against the enclosure's selector, matching the phrase's semantax, identifier, and classname against the enclosure's selector. When a match occurs, the enclosing process is triggered.
And here is the output created by the builder:
The enclosure process is the recommended way to build a document template for a website. To do this, write each page's content inside a main or article containing phrase. Make that containing phrase the enclosure's target selector. Delegate all of the website's boilerplate stuff, such as html, head, link and script elements, to the enclosure target.