• Hi,

    I noticed that the plugin doesn’t preserve pre tags which include code snippets.
    Is there is a chance to include this as a feature in your next version?

    Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Michael Williamson

    (@michaelwilliamson)

    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,

    Plugin Author Michael Williamson

    (@michaelwilliamson)

    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,

    Plugin Author Michael Williamson

    (@michaelwilliamson)

    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin doesn’t preserve pre tags’ is closed to new replies.