Chris (1006.org) has indicate me a java program called "ditaa". It makes UML diagramms (pictures) from ascii text. More example you found on the website "ditaa"
Example: test1.txt
+----------+
| cRED |
| Cube red |
| |
+----------+
cmdline: java -jar ditaa0_8.jar -o test1.txt
You can do the same with HTML files.
For this use the tags <pre class="textdiagram">
ditaa will to replace the ascii text with a img tag and generate
a image in the directory images.
a image in the directory images.
