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

Markdown's TOC behavior has changed #2342

Closed
waylan opened this issue Feb 24, 2021 · 1 comment
Closed

Markdown's TOC behavior has changed #2342

waylan opened this issue Feb 24, 2021 · 1 comment

Comments

@waylan
Copy link
Contributor

waylan commented Feb 24, 2021

With the release of Markdown version 3.3.4 (today), the documentation below is not longer correct:

Note that MkDocs will not generate [anchor links][23] for levels outside
the range defined with `toc_depth`. However, Material for MkDocs also allows

The behavior has been changed in Python-Markdown/markdown#1108 and toc_depth no longer restricts the creation of permalinks. The setting only restricts the creation of the TOC itself.

As an aside, Markdown never documented the old behavior and I didn't even realize that behavior had been introduced. Therefore, I consider the behavior a regression and addressed it as a bug fix.

@squidfunk
Copy link
Owner

That's great news! I removed the notice 😊

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

2 participants