So I\'ve been working on a very large report and to simplify the issue I\'ve written code to generate tables and figures for subsections in their own Markdown chunks with th