Versions in this module Expand all Collapse all v1 v1.0.0 Dec 20, 2022 Changes in this version + var DefaultConfig = Config + type Config struct + EndLevel int + Ordered bool + StartLevel int + type Heading struct + Headings Headings + ID string + Text string + func (h Heading) IsZero() bool + type Headings []Heading + type Root struct + Headings Headings + func (toc *Root) AddAt(h Heading, row, level int) + func (toc Root) ToHTML(startLevel, stopLevel int, ordered bool) string