rmd_template: Create a template from an rmd object.
Description
Templates are objects which are meant to capture the structure of an R Markdown document and facilitate the
comparison between the template and new Rmd documents, usually to ensure the structure and/or content matches
sufficiently.