Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Material uses IDs that are easy to conflict with. #790
MkDocs Material injects a couple of ids that aren't expected. For instance in my document, the id
A user would have to explicitly assign an id to the header that does not conflict. While I realize it is probably impossible to come up with a name no one could accidentally stumble upon, I feel like we could definitely make it more difficult.
I would normally expect that id's for Material to be more difficult to happen upon so a user doesn't have to explicitly be aware of all ids that Material uses. Maybe something like
Unfortunately, Material uses very common ids that are easy to accidentally conflict with.
Steps to reproduce the bug
Thanks for reporting. I would probably just add two underscores to all internally used IDs, so