In each of the following examples, the resulting table IS the output of t2t.
The HTML code has not been altered in anyway by hand.
Input File for next table
white #ffffff
red #ff0000
green #00ff00
blue #0000ff
brown #a62a2a
Command line: t2t test
| white |
#ffffff |
| red |
#ff0000 |
| green |
#00ff00 |
| blue |
#0000ff |
| brown |
#a62a2a |
Input file for next 2 examples
Netscape Colors
white #ffffff
red #ff0000
green #00ff00
blue #0000ff
brown #a62a2a
Command line: t2t test
Netscape Colors
| white |
#ffffff |
| red |
#ff0000 |
| green |
#00ff00 |
| blue |
#0000ff |
| brown |
#a62a2a |
Input file for next 2 examples
color hex equivalent
white #ffffff
red #ff0000
green #00ff00
blue #0000ff
brown #a62a2a
Command line: t2t --header test
| color |
hex equivalent |
| white |
#ffffff |
| red |
#ff0000 |
| green |
#00ff00 |
| blue |
#0000ff |
| brown |
#a62a2a |