标签: python python-docx
我目前尝试从单词模板中获取所有jinja2变量。我使用Python模块docx-template。我知道在jinja中有可能通过Environment和metaf.ind_undeclared_variables。但是如何通过docx-template完成这项工作?
Environment
metaf.ind_undeclared_variables