mwilliamson / python-mammoth

Convert Word documents (.docx files) to HTML
BSD 2-Clause "Simplified" License
785 stars 121 forks source link

Could I ask for a little change? #140

Closed JacoboFeijoo closed 8 months ago

JacoboFeijoo commented 8 months ago

Hi,

First, congrats. This tool is quite comfortable.

Second, I would ask for a change. If I write italics in Word, this plugin translate it as <em> but I need an <i> I have the same problem with <strong> for bolds (I need a <b>). In professional edition of books (paper vs. digital) the difference is quite important.

Thanks in advance :o)

mwilliamson commented 8 months ago

Hello! The conversion of italics and bold can be controlled using style maps, as described in the docs: https://github.com/mwilliamson/python-mammoth#bold

JacoboFeijoo commented 8 months ago

Hello! The conversion of italics and bold can be controlled using style maps, as described in the docs: https://github.com/mwilliamson/python-mammoth#bold

Clear! Thanks a lot :o)