Skip to content

[FIX] make heading level dynamic #1191

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

Merged
merged 1 commit into from
Jan 10, 2025
Merged

[FIX] make heading level dynamic #1191

merged 1 commit into from
Jan 10, 2025

Conversation

jaapio
Copy link
Member

@jaapio jaapio commented Jan 10, 2025

The heading level of markdown documents is not strictly 1 based. Some documents are starting with a random heading. Before those documents were rendered empty. This change fixes that behavior, headings to not longer start at level 1.

The heading level of markdown documents is not strictly 1 based.
Some documents are starting with a random heading. Before those
documents were rendered empty. This change fixes that behavior,
headings to not longer start at level 1.
@jaapio jaapio force-pushed the fix/off-by-x-headings branch from 662106f to 561af1b Compare January 10, 2025 15:09
@jaapio jaapio merged commit 54f9e4d into main Jan 10, 2025
49 checks passed
@jaapio jaapio deleted the fix/off-by-x-headings branch January 10, 2025 15:13
@phpdoc-bot
Copy link

💚 All backports created successfully

Status Branch Result
1.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

phpdoc-bot added a commit that referenced this pull request Jan 10, 2025
[1.x] Merge pull request #1191 from phpDocumentor/fix/off-by-x-headings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants