MacroHTML include files

MacroHTML allows you to define snippets of HTML and include them in your web pages. This allows you to have a consistent look and feel on all your pages, and write sections just once, with one changes being reflected in many files. It does this by using the double arrow bracket directive, eg. ((include/me)) (substituting normal brackets for arrow ones).

This tells the pre-compiler to include a file directly at that position, replacing the tag include directive that was there. As the file is being included, it in turn is checked to see whether it, too includes other files. If it does, then these are also included in a recursive manner unless doing so would create a circular path (at which point a warning message is placed in the parent file and compilation continues, but skipping that path).

Finally, the resultant pseudo-HTML stream is passed to the macro-compiler where the tags are expanded out to real HTML. That text stream is written to disk in an output directory as .html files which can be read by a browser.