microsoft / microsoft/markitdown

Header information is getting erased

Open
#1,182 0 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

After using the Python API to convert a doc to md, I see that the headers are erased.

For example, the output is,

### Introduction

Whereas, I want,

3.1.1 Introduction

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 issue through the Python API by converting a document containing a numbered heading such as “3.1.1 Introduction.” Trace the document-to-Markdown conversion path and check how heading information is represented. Done means the converted output preserves the requested heading information instead of emitting only “### Introduction”.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.