UseToc

A hook used to generate a table of contents based on the page content

Installation

jsrepo add hooks/use-toc.svelte

Usage

Generate a table of contents using the content of the page.