microsoft / microsoft/markitdown

Doesn't convert the docx to md properly with the mathematical equations inside

Open
#1,512 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
186k
Forks
13.7k
Avg merge
1d 4h
Merged PRs (30d)
49

Description

I have fed it a docx file with the mathematical equations inside it and when I converted it to the md format, equations was completely missing from md file, just the text was visible. pypandoc library however did the conversion perfectly, with all the equations visible. So, is it a bug in the markitdown library or is this feature missing?

If missing, then I would request the moderators to add this!

Original docx -:
Image

With Markitdown -:
Image

With pypandoc -:
Image

Thanks for your consideration.

Regards,
Vineet Mangal

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report using the attached DOCX and the repository's DOCX conversion path, then inspect how mathematical equations are represented and handled during conversion. Compare the generated Markdown with the source and the pypandoc result. Done means equations are preserved in the Markdown output and a regression test covers the reported document or equivalent input.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.