I remember from my MS Office days the Mail merge feature: I had a table in an Excel sheet, a template in Word and Mail Merge created a Word document from each row in the Excel sheet.
I now have completely changed over to plain text files: CSV for tables and Markdown for text and I would like to process the CSV and template into a stack of Markdown files (which I then convert via Pandoc to HTML/PDF).
A) Mail Merge"-type of tool
Does such a "Mail Merge"-type of tool exists for this workflow? I'd prefer a command line tool, because everything else in the tool chain is cli-based.
B) Tool for both directions
The coolest feature would be if the converting were possible two ways:
CSV+Markdown template --> Bunch of Markdown documents
and vice versa
Bunch of Markdown documents --> CSV+Markdown template