slavapestov/factor — Issue #317: help.html should output more compact HTML
Author: slavapestov
Created: 2011-10-31 04:54:08+00:00
State: open

Right now, it emits HTML elements with the style attribute set to various CSS expressions. These style attributes are very long and repetitive. Instead, we should pre-define styles and use the class attribute with them.

The problem is that the formatted stream protocol was not designed to make this easy. Instead of taking an assoc with style attributes, stream-format should take a style name. Then we can have a separate define-stream-style generic or similar, which defines a named style. html.streams would collect these and emit a