workdir = 'E:/tanlian-workspace/remall-business-center'
tpl = DocxTemplate(f'{workdir}/docs/temp/temp.docx')
context = {'name': 'N₂O'}
jinja_env = jinja2.Environment(autoescape=True)
tpl.render(context, jinja_env)
tpl.save(f'{workdir}/docs/9.docx')
but in word, it shows like this enter image description here
I want to N₂O shows like this in word enter image description here