Currently the {{ .TableOfContents }}
emits a list in the markup. I want to modify this to emit option
s in a select
menu. How can I do that?
.TableOfContents
is a variable that holds the entire table. Its levels can be set it the project config.
There is no template that controls the TOC markup.
In the past another forum user customised the TOC via JS.
Thank you.