Did you know ... | Search Documentation: |
Grammar rule mime_include//2 |
text/css
and text/javascript
are tried. For example, to
include a =.pl= files as a Prolog script, use:
:- multifile html_head:mime_include//2. html_head:mime_include(text/'x-prolog', Path) --> !, html(script([ type('text/x-prolog'), src(Path) ], [])).