diff --git a/parser/parser.go b/parser/parser.go index ccf973f..c61542b 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -359,19 +359,36 @@ func (p *Parser) GenerateToc() string { if !tocFull && v.lvl > 3 { continue } - // TODO: switch over levels, indent subheadings using