elapouya / python-docx-template

Use a docx as a jinja2 template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarify format of word document in documentation

kevinlinxc opened this issue · comments

I was confused as to why the code was not working - it turns out I wasn't using the jinja tags around my words that needed to be replaced in the template. This is obvious to those who have worked with Jinja, but it took me an hour to figure out because I am not familiar. I think the example code should specify that the word document needs to have {{company_name}} in the word doc.

@toloco I think it should be in the quick start, because it is required to actually start quickly