markitdown
markitdown copied to clipboard
Add .doc file extension support
Good day,
This PR adds support for the legacy .doc file extension (Microsoft Word 97-2003 format) in addition to the currently supported .docx format.
Changes
- DocxConverter - Added .doc to ACCEPTED_FILE_EXTENSIONS
- DocumentIntelligenceConverter - Added DOC type to the enum and corresponding MIME type (application/msword) and extension mappings
Details
The .doc format uses the same underlying conversion logic as .docx (via mammoth library), so this is a minimal change that enables compatibility with legacy Word documents.
Thank you for your work on this project. I hope this small fix is helpful. Please let me know if there's anything to adjust.
Warmly, RoomWithOutRoof