I tried by converting html file to docx with below html code:
<h1>docxtemplater</h1>
<p><strong>docxtemplater</strong> is a library to generate docx/pptx
documents from a docx/pptx template. It can replace {placeholders…...html is an HTML fragment. Our content type detector...