microsoft / microsoft/markitdown
Titles and subtitles not recognized on docx documents
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 186k
- Forks
- 13.7k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 49
Description
I was trying to convert this file using Python API :
and i have this output :
Default paragraph style
title
subtitle
# heading 1
## heading 2
### heading 3
#### heading 4
block quotation
preformated text
body text
normal
Is there a way to preserve at least titles and subtitles information ?
documents : test.docx
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 Python API conversion with the attached test.docx and compare the output for the title and subtitle paragraphs. Trace how DOCX paragraph styles are converted to Markdown, then verify that title and subtitle information is preserved in the resulting 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
- 35/100