2025-08-29

(sph web shtml)

helpers to create html via sxml

part of sph-lib

module name

(sph web shtml)

exported bindings

procedure: shtml->html shtml port ->
write html from shtml to port, adding a declaration at the beginning
procedure: shtml-alist->options a ->
((content . string:value/false)/string ...) -> sxml:((option _ ...) ...)
create the shtml for multiple
procedure: shtml-heading depth content ... ->
integer sxml -> sxml
create a html heading element, for example

, with the given content