-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Insiders tag plugin conflicts with markdown_extensions.toc #7191
Comments
Thanks for reporting! Fixed in When the maximum level is changed, it stops as reported. Now, the plugin will read the maximum level from the configuration of the table of contents extension and use that for injecting listings. Is that the optimal solution? Very far from it, but we need to work with what Python Markdown and MkDocs gives us. We'll investigate in the future if we can improve the implementation and make it less hacky. I hope that in the meantime, the reported problem can be considered fixed. |
Thank you for the quick fix! Much appreciated. |
I can confirm that this commit resolves the issue for us, so closing this issue now. |
Great! Keeping open until released. |
Released as part of 9.5.24+insiders-4.53.9. |
Context
The new Insiders tag plugin rewrite conflicts with the
markdown_extensions.toc
extension.Bug description
When the
markdown_extensions.toc
extension is used andtoc_depth
option is set to a value <6, the new Insiders tag plugin doesn't generate tag listings.Related links
markdown_extensions.toc
extensiontags
pluginReproduction
9.5.23+insiders.4.53.8-no-tags-list-with-toc.zip
Steps to reproduce
plugins.tags
inmkdocs.yml
markdown_extensions.tac.toc_depth: 6
inmkdocs.yml
<!-- material/tags -->
doesn't generate anythingBrowser
No response
Before submitting
The text was updated successfully, but these errors were encountered: