Ensure that the IDs for macro options links are unique #848
Labels
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
⚠️ high priority
Used by the team when triaging
We currently generate the ids for the anchor links within component macro options tables from
title
in frontendmatter. There are some ones that are not unique which breaks the links as the same id is used multiple times on the page. See #836We used to use the example parameter from the template to do this but now that we use the frontend matter titles we should think about either having some tests to ensure that these are unique, or consider whether we should go back to using the
example
parameter as combined withtitleSuffix
, or some combination thereof.The text was updated successfully, but these errors were encountered: