The inside-out approach to templates

Enclosure Templates

Enclosures provide a way to wrap the contents of a document with the outer contents of an external file.

Defining a classic template
Creating a BLUEPHRASE template with a !target-matter enclosure point.
Using an enclosure
Using the !enclosure pragma to wrap the classic template around a manuscript.
Semantax enclosures
Triggering an enclosure on every occurrence of a specified semantax.
Classname enclosures
Triggering an enclosure on each phrase having a specified classname.
Identifier enclosures
Triggering an enclosure for a phrase with the specified ID.

The inside-out approach to templates

🔗 🔎