This is my first post in this forum. Thanks for Hugo!
Heading anchors are not working for me, or there’s something I don’t understand or I’m not doing correctly. I have a few Markdown files where I’m using # and ## headings, but no anchors are generated for them. I’m using Hugo v0.68.3. I have no explicit Markdown-related settings in my config.yaml file.
It would be easier to help you if we could replicate your issue. Please have a read about Requesting Help particularly the section about letting us see your code.
and fills in the link for the href attribute. The anchor element is styled with e.g. an anchor chain. I expected/hoped that Hugo would generate this, maybe with some default styling.
Ah. But it says there that support for the heading render hook was added in v0.71.0. I’m using Hugo v0.68.3. So I’ll need to install the latest version, or at least that version to make it work, right? I just installed the default version of Hugo on Ubuntu 20.04 which was v0.68.3, so I’ll install the latest and try it out.