microsoft / microsoft/markitdown
Differences in conversion between docx and pdf for the same content
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 186k
- Forks
- 13.7k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 49
Description
Hi,
It might be normal behavior, but it seems that markitdown fails to convert a table within a PDF file but is successful with the same content in a docx.
Config:
- python=3.11
- markitdown=0.0.1a3
The corresponding files are as follows:
test.docx > output_docx.md
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the conversion with the attached test.docx and test.pdf files, then compare output_docx.md with output_pdf.md to isolate the missing table content. Trace the PDF conversion path and add coverage for this input; done means the PDF conversion preserves the table content represented in the DOCX output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100