microsoft / microsoft/markitdown

ATX Headers for Markdown output

Open
#309 1 comment 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 tried to convert both PDF and DOCX using various different files, and I am not having much luck with getting correct ATX headers out ( using # ## ### etc for various levels of headings ).

The output is almost always using ** Header **.

Is this due to the way the input file is structured, or is it something you can configure. In the code there is a refence to Markdownify where in one of the formatters an option to use "Markdownify.ATX" is chosen.

Can anyone shed some light on this?

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

Start by reproducing the PDF and DOCX conversions described in the issue, then inspect the formatter that selects the Markdownify.ATX option. Compare the generated heading syntax with the expected ATX forms for different heading levels; done means headings are emitted with # markers rather than bold text.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.