diff options
Diffstat (limited to 'markup/tableofcontents/tableofcontents.go')
-rw-r--r-- | markup/tableofcontents/tableofcontents.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markup/tableofcontents/tableofcontents.go b/markup/tableofcontents/tableofcontents.go index 9109ba87c..49a9cdeb7 100644 --- a/markup/tableofcontents/tableofcontents.go +++ b/markup/tableofcontents/tableofcontents.go @@ -77,6 +77,7 @@ func (h Headings) FilterBy(fn func(*Heading) bool) Headings { // Heading holds the data about a heading and its children. type Heading struct { ID string + Level int Title string Headings Headings |