Hugo not processing go template variable in .md file

0

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

markup:
  defaultMarkdownHandler: goldmark
  highlight:
    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.