default_output_template()
This is the default template used by pastis and is a good starting point for creating your own template. To have a look at this template try:
cat(default_output_template())
Once you understand the format, you can create your own template as a string and pass it to pastis.