Skip to content

Images with caption + number are not extracted when converting .docx to Markdown #11412

@UweDiekmann

Description

@UweDiekmann

Explain the problem.

When converting a .docx file containing images with Word-style captions, Pandoc fails to include the image in the output (e.g., Markdown or HTML). The image is silently skipped, even though it appears correctly in Word.

Actual Behavior

The image does not appear at all in the output.
No warning or error is shown.

Additional Notes

Images without captions convert correctly.
The issue seems specific to Word’s built-in caption mechanism, which wraps the image in a table or uses a special content control that Pandoc may not recognize

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions