Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hidden H2s still appear in Menu component #7

@jozanza

Description

@jozanza

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.

# Title

lorem ipsum ...

<!-- hide-on-docup-start -->

## Table of Contents

- [Installation](#installation)
- [Getting Started](#getting-started)

<!-- hide-on-docup-stop -->

## 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions