How are the pre tags included in the original document? Are there
tags literally included in the text? Could you provide a minimal example document?
Thread Starter
macnux
(@macnux)
Actually yes! I typed them literally as a text
Because I can’t add pre tags as HTML pages in a word doc.
Is there any solution for that?
Best Regards,
I’m afraid not. The approach that others have taken is to apply a custom Word style to the code block, and then to map that Word style into appropriate HTML. For instance, the style mapping might look something like
p[style-name='Code Block'] => pre.code-block:separator('\n')
Thread Starter
macnux
(@macnux)
I’m sorry, one final question.
Can you add an option to make image alt text and description from its name?
It would be a good feature for this time-consuming process for tens of images in some cases.
Best Regards,
The names of images often unintentionally leak information that the authors didn’t mean to include in the output. If you set the alt text on the image instead, that should be carried across to the output.
Thread Starter
macnux
(@macnux)
Thank you very much for your great response!
Have a great day!