echo 'E = mc<sup>2</sup>' | domterm html domterm html 'E = mc<sup>2</sup>'
domterm hcat [--base=base-url] html-filename…
domterm html [--base=base-url] html-data…
Use this to embed HTML content info the DomTerm page. If there are no arguments, read from standard input. Each html-data must be a well-formed HTML fragment.
Either of the following work:
echo 'E = mc<sup>2</sup>' | domterm html domterm html 'E = mc<sup>2</sup>'
and displays: E = mc2.
The hcat command takes the name of an html file, rather than literal html.
(With no arguments hcat is the same as html.)
The following are equivalent:
domterm hcat /path/to/doc.html cat /path/to/doc.html | domterm html --base=/path/to/
Relative URLs are resolved relative to the base-url,
which can be an absolute URL or a filename or directory.
The default is the current working directory,
or (in the case of the hcat command) the directory of the file.