Hello @Annika.Zhou
For Aligment issue with paragraph, In html you can refer point number 1.1 Background in which paragraph is present. I have attached 'output8215789050253623338.html' which finally goes for html to doc to pdf conversion.
I have attached final generated 'WordToPDF1_20240306185922847_5526668895312717038.pdf' PDF file also.
you can use same '/html-to-pdf-json' postman request with same input request body to test through provided code base.
Thanks & regards,
Umesh Asodekar