This is a simple tool I use to turn my Postgres regression tests into Markdown for publishing with mkdocs similar in spirit to Python doctests. I decided to package it up into a tool for others to use in their projects. The repo contains a complete example of using the tool to generate its own docs.