At this point we have definitely proven this is specific to your environment, and in no way related to Hugo. So…
Yep, seems like it. I’m at a total loss for what else could be the variable to debug.
Oh wow that was it! the H2 test heading ![]()
Appreciate the help so much, thank you! ![]()
Yeah, sorry about that. I should have seen that immediately when opening your markdown file. It worked for me because, before testing, I changed/added headings so I would know which shortcode was rendering what.
Then I went back to the original markdown file and saw the problem.
Hugo uses Goldmark to render markdown to HTML, and our default configuration includes…
[markup.goldmark.parser]
autoHeadingID = true
…which adds an id attribute to each markdown heading (H1-H6). So you would have had to search the public directory, not your source, for “datawrapper”.
This was a valuable learning exercise for me, so, thanks.
Oh no not at all! Thank you for hanging in there with me to figure this out ![]()
So you would have had to search the public directory, not your source, for “datawrapper”.
Yep, I should have looked at the generated files as well.

