created templating mechanism for pulling data inventory into markdown; got expandable sections working

This took a lot of work, and isn't a perfectly perfect solution, but it gets about two and a half of the jobs done, so I think it's good enough.