I have made a small web app in Python that, at one point, needs to generate an editable Word document consisting of a set of ID cards (it has to be editable, and in Word, as the users are not familiar with any other mode of editing and some degree of manual editing is unfortunately likely to be necessary). What would be the best way of doing this:
I could output Markdown or RestructuredText and convert it with Pandoc. However, I'm not sure about how to handle spacing and borders with this approach. I need to have blank space between each card so they can be cut out of the printout.
I could use of one of the many Python templating engines, but I have no experience with any of them, and not sure how easy it is to generate a Word document with them.
I could directly output into RTF, but this seems like it might be an unnecessary headache.
Please let me know what you think of these options, with reasons?