Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: tag heading levels properly (#1374)
This pull request includes updates to the heading levels in the table of contents and MDX components to ensure consistency and improve accessibility. Changes to heading levels: * [`src/components/table-of-contents.js`](diffhunk://#diff-bd59de7c368e7b6e065bc8d893ae0400197c0a3bcb7d2e22a58fdc97e2abc9dbL79-R79): Changed the heading level from `h3` to `h2` for the "Table of contents" heading to improve accessibility and consistency. * [`src/mdx/components.js`](diffhunk://#diff-d4d36da21aca0163a287721a4d65a9cb75e8f1da88ba43b373dff9ad0fb81dc7L127-R130): Updated the heading levels in the `Headings` component to ensure that `H3` wraps `h2`, `H4` wraps `h3`, `H5` wraps `h4`, and `H6` wraps `h5` to maintain a proper heading hierarchy.
- Loading branch information