Add option to create HTML

This PR adds the option to generate HTML. The code was created as follows:

* For each output function (`out()`, `outln()`, `pr_liteblue()`, etc.) I created two functions: one that just outputs to the terminal and one that outputs to the terminal and to the HTML file (if an HTML file is to be created).

* I modified the code so that any output that should appear in the HTML file in addition to being displayed on the terminal is sent through one of the display functions: out()`, `outln()`, `pr_liteblue()`, etc.

* I created a new function `retstring()` to use in place of `out()` when a function is creating a string to be "captured" by the calling function.

* I modified the code so that no string returned by a function includes color-coding escape characters.
This commit is contained in:
David Cooper 2017-02-07 14:25:41 -05:00 committed by GitHub
parent edb358b3e0
commit dc9e3bfb58
1 changed files with 407 additions and 263 deletions

File diff suppressed because it is too large Load Diff