[WIP] work in progress - new function to replace template content with
some markdown file and variables, etc.