This post is a placeholder until I get time to do a proper bug report with minimal test case and all, but I thought I would give a heads up and see if anyone else has run across this (yet).
Any shorcodes in the README, even those in code blocks are rendered with the latest Hugo.
What should happen is that the behaviour should be the same as if the content of the README where directly in the content (that is as a normal content page), which is that shortcodes in code blocks (whether full for or just inline) are not rendered.
I’d be find with just escaping the shortcodes (as I have done as a workaround) but the backlash (\) character appears in the output, which is not quite right.
.RenderString now support shortcodes (this is very useful) and it behaves exactly the same as for content pages (e.g. site.Home.Content). You can use shortcodes in inline code blocks. This means that if you want to tell Hugo not to render any shortcode, you need to use the comment syntax, see this related issue: