Did you know ... | Search Documentation: |
Predicate mime_include/4 |
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) ], [])).