I'm currently developing a set of shell functions and I want to document its output.
I remember there's a command that generates a basic outline in html (and markdown?) where on the first column you've got the command and it output on the right. A crude example:
ls -a1 | .
| ..
| a_dir/
| a_file
| another file
|
ps | PID TTY TIME CMD
| 2920 pts/2 00:00:00 bash
| 3015 pts/2 00:00:00 ps
I would like to know a program that given a set of commands will generate something similar to the previous example, wether it is html, markdown or anything similar.