pqzx / html2docx

Convert html to docx
MIT License
69 stars 49 forks source link

How can I render HTML-file content to specific tag/word into a template.docx file (word replacement)? #52

Open marlon-888 opened 1 year ago

marlon-888 commented 1 year ago

How can I copy the content of an HTML file (data_1.html") to a specific location in a pre-made "template.docx" and then save it as "output.docx"?

Here is an example of how I would like it to work: html_to_docx

premudeshi commented 7 months ago

Were you able to figure this out?

dylan0356 commented 6 months ago

Look into using a library called Mako