Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 288 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 288 Bytes

how to use


jinja_env = jinja2.Environment()
jinja_env.globals["now"] = datetime.datetime.now

doc = PptxDocument("sample/sample.pptx")
doc.render(data, jinja_env)
doc.save("sample/output.pptx")

next

  1. support render Table