I’ve been trying to create a linked table of content on the sidebar of my documentation pages. It did work until I switched to asciidocext
in my markup configuration.
The pages are being processed correctly. Headings are getting their ID
s but the .Fragment
variable is empty and so are all the related variables. Reading the documentation at Fragments | Hugo I might be tempted to think this feature only works with Markdown.
I’m here to either confirm this suspicion, or stand corrected, in case I’m missing something. Is there any way to get the .Fragments
variable populated also when using markups different from goldmark
?