Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header level not set correctly #310

Closed
barbem opened this issue Oct 22, 2024 · 4 comments
Closed

Header level not set correctly #310

barbem opened this issue Oct 22, 2024 · 4 comments

Comments

@barbem
Copy link

barbem commented Oct 22, 2024

Hi there,
First of all, thank you for this tool! I am a blind user, I use a lot of markdown format and PDFs are often not accessible.

In your example from Think Python, the chapters are set to level 1 and all other headings are set to level 2:

# Chapter 1
...
## 1.3 What is debugging?
...
## 1.3.1 Syntax errors
`

Section 1.3.1 should be level 3.
It should be easy to use the section number to determine the level of the header.
Thank you.
@VikParuchuri
Copy link
Owner

The example is out of date - marker will now detect headers properly and assign the right level

@Shubhamkumar782
Copy link

Hi @VikParuchuri

If you see the same pdf example Think Python.
Markdown tags are not static for one level.
For example Chapter 1 and chapter 5 are having different tag actually Chapter 5 is not getting identified as Heading this happened with multiple chapter.
Is there a way to fix this ?

@barbem
Copy link
Author

barbem commented Nov 16, 2024

I used the example of your ReadMe to demonstrate the problem. I have the same issue for every documents that I convert with Marker.

@barbem
Copy link
Author

barbem commented Nov 16, 2024

I am not able to reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants