retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.02k stars 201 forks source link

Showing H1 in the sidebar #641

Closed anotherduckling closed 9 months ago

anotherduckling commented 9 months ago

Retype ignores H1 in the header list by default. Is it possible to do something so that it doesn't ignore H1?

geoffreymcgill commented 9 months ago

The new depth project config allows for custom configuration of the Table of Contents heading depth. Although, the depth project config is a Retype Pro only feature.

toc:
  depth: 1-3