egoist / docup

The easiest way to write beautiful docs.

Home Page:https://docup.egoist.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hidden H2s still appear in Menu component

jozanza opened this issue · comments

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.

thanks for reporting, will look into it asap