Unable to use it for doc type file #276
Replies: 5 comments 4 replies
|
Are you using a |
|
For legacy binary doc format, you can use |
|
You can use this tool |
|
DOC files are a bit trickier than DOCX because they're based on the older binary Microsoft Word format. Many conversion libraries only support DOCX directly. One approach is to first convert the .doc file to .docx (using Microsoft Word, LibreOffice, or a tool like soffice in headless mode) and then run your Markdown conversion on the resulting DOCX file. If you're on Linux, LibreOffice can do this from the command line: soffice --headless --convert-to docx yourfile.doc After that, convert the generated DOCX to Markdown as usual. Also, check whether the underlying library you're using explicitly supports the legacy DOC format—many don't, even if DOCX works perfectly. |
|
I updated unword . You can easily convert binary doc to markdown with a simple "pip install unword" |
Uh oh!
There was an error while loading. Please reload this page.
I have been trying to use it to convert files to markdown . it works with docx but does not work with doc ? any suggestion to achieve this?
All reactions