Working with Table of Contents - Array Structure

.TableOfContents is an HTML string, not an array or tree structure. On my “I should really do this” list of things to do with Hugo, I want to parse it as a tree structure so that we can write better versions of it.

2 Likes