The Multi-Part template parser creates multi-part templates by allowing you to combine multiple templates into one file, then rendering those templates into different parts of the page at runtime.
For example the following template:
--head <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> --init $("p").hide();
When added to a page will cause all of the paragraphs in the page to be hidden. This works because the line that references jQuery will be rendered into the page head, and the part after --init will be written into the initialization script at the bottom of the page after all of the Html.
The sections of the multi-part template are separated by special dividers that comprise two hyphens and a word that identifies the area of the page to render into. These dividers are: