unidoc / unioffice

Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents
https://unidoc.io/unioffice/
Other
4.37k stars 473 forks source link

Can I add html markup to doc files? #476

Open brandonheng168 opened 2 years ago

brandonheng168 commented 2 years ago

Description

Is there a plan for the word document package to support html tags or how i can impliment the print the below in creating word

<b>Bold first</b><div><i><b>Bold second</b></i></div><div><i><b>There are so many of us </b>asasas</i>asas<i>asasasasas<u>asasasa</u></i></div><div><i><u><br></u></i></div>

Expected Behavior

The above html string should display as bold, italic , underline formatted

Actual Behavior

Printing as string on AddText()

Please include a reproducible code snippet or document attachment that demonstrates the issue.