Converte HTML to docx #2689
youssefelya
started this conversation in
General
Replies: 0 comments
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