The html.templates.fhtml vocabulary implements a templating engine which mixes markup with Factor code.

FHTML provides an alternative to for situations where complex logic must be embedded in the presentation layer of a web application. While this is discouraged for larger applications, it is useful for prototyping as well as simpler applications.

The entire syntax of an FHTML template can be summarized as thus: text outside of <% and %> is rendered literally. Text inside <% and %> is interpreted as Factor source code.
<fhtml> ( path -- fhtml )