20250504

html includes: hxincl stdout

2025-05-04 Sun I just use hxincl, part of the W3C's HTML-XML-tools suite, to handle includes in my makefile. If I need something with variables, I can use m4 macros. It's still not HTML, but it works well enough for my purposes.

---via [[Seeking an Answer: Why can't HTML alone do includes? – Frontend Masters Blog|https://frontendmasters.com/blog/seeking-an-answer-why-cant-html-alone-do-includes/]]

2025-05-04 Sun Without -M, the hxincl command copies an HTML or XML file to standard output, looking for comments with a certain structure. Such a comment is replaced by the file whose name is given as the attribute of the directive. For example:

---via [[hxincl(1) — html-xml-utils|https://manpages.opensuse.org/Leap-16.0/html-xml-utils/hxincl.1.en.html]]

No comments:

Post a Comment