Hidden H2s still appear in Menu component
Open
- Dominant language
- TypeScript
- Stars
- 701
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Hiding H2s via comments will prevent them from being shown in main content area, however they still appear in the menu section. This can reproduced by taking the boilerplate `index.html` (described in the "Quick Start" instructions), and creating a README.md with the following content.
```md
# Title
lorem ipsum ...
## Table of Contents
- [Installation](#installation)
- [Getting Started](#getting-started)
## Installation
`npm i some-package`
## Getting Started
blah blah blah
```
The generated website will show three sections in the menu: "Table of Contents", "Installation", and "Getting Started". My expectation is that it would only show the latter two.
Contributor guide
Assessment
This issue has not been assessed yet.