When I start hugo server or hugo it throw an error:
hugo server
Start building sites …
hugo v0.87.0-B0C541E4+extended windows/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
Error: Error building site: "C:\Users\Hippocrene\projects\blog\yuanyiblog\content\posts\hugo.md:209:17": failed to extract shortcode: template for shortcode "shortcodename" not found
I wonder why my content in code blocks has been executed? How can I avoid this?
I have amended the topic title because the issue pertains to the shortcode syntax -and not the partial-.
Also I can reproduce it, but I don’t have the time to debug it.
The Markdown processor was upgraded in the latest release.
However this issue also happens when the HTML delimiter is used within a content file’s code block: