Hugo not processing go template variable in .md file


I’m trying to show images from assets/images directory. But I just realize that go code with syntax {{code}} didn’t get processed at all. It just print the code like a plain markdown content.

my config.yml about markup config just this

  defaultMarkdownHandler: goldmark
    noClasses: false

I should still using goldmark markdown default, but the go syntax got ignored.

Template code goes in templates, not in content files.

Look at shortcodes in the docs.