Converte HTML to docx #2689
youssefelya
started this conversation in
General
Replies: 1 comment
-
Hi! Rules of html&css styling are not fully compatible with .docx files There are many project on the market who tries to create html editors and convert their created html into docx with semi-successful results. This project isn't about it tho, mode like a tool to create with JS commands some sort of .docx file in return (.zip with set of .xml files according to OOXML stardard) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to inquire if it is possible to achieve the following:
I have a typescript application where I am fetching data from a database and generating a Word document using the docx library. The challenge is that I have a field containing HTML code, such as < p >paragraph with < a href='https://example.com' >a link< /a>.< /p >. I would like to know if it is possible to convert this HTML into a Word document so that if the text is formatted as strong/bold in HTML, it will appear the same (strong/bold) in the Word document.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions