htms

Documentation
Login

Documentation

HTMS - HyperText Markup Shorthand

Purpose

A Tcl module for HTML + CSS markup shorthand.

The htms module converts a script written in HTMS into HTML.

HTMS reduces the effort needed to create HTML. The number of
keystrokes needed for HTMS markup is typically from one tenth to
one half that needed for the equivalent HTML markup.

Shorthand

Basically the shorthand forms are Tcl commands. Each shorthand
form is an HTML element name that may be followed by a dot and
any number of dot-separated HTML attributes or CSS properties.
Because this is Tcl, the command has to be a single "word", and
the usual Tcl quoting and escape mechanisms apply. The command's
arguments are made the content of the corresponding HTML element.

Next steps:

Features included

This module is probably near its Pareto optimality and already
includes the most useful and appreciated features.

Features excluded

In striving to "do one thing and do it well", some functions
have been rejected.

Features deferred

Through indecisiveness, resouce limitation, or laziness, not
all features considered have been implemented or rejected.

Repository content

This repository is limited to the htms package/module. HTMS is
used in the Siemens Presentation Markup Compiler.

Toplevel directories

Unversioned directories

Environment

Licenses

This is an open source software project. Contributers agree to
the Developer Certificate of Origin, but commits are not signed.
As per the REUSE Specification, the licenses are in the
LICENSES directory.

Rationale for release as open source

Beyond the generic, altruistic, and progressive arguments
for Open Source Software, there are a number of reasons to
expect specific benefits beyond goodwill by releasing this
code. Direct and indirect benefits will accrue from users
in the Tcl community, at external suppliers and non-wholly
owned subsidiaries. Feedback and contributions provided by
downstream users will further ripen and improve this code.
If the resonance this code experienced at EuroTcl 2019 is
any indication, there is reason to believe the payoffs will
be greater than expected.

Furthermore, there is little reason to expect detrimental
after-effects from a release.