Support several rendering modes (html, json, markdown)

See `README` and `supersample.opts` for a better description.