REF_NOT_FOUND in source code blocks


in one of my markdown files I use following source code block:

When I then run hugo to generate HTML content out of the markdown file (containing the source code snippet above) I get following error message:

ERROR 2022/09/13 21:37:18 [en] REF_NOT_FOUND: Ref "../topics/": "/home/blog/content/posts/": page not found

I guess it has to do with this part (in the code block):

([SSH]({{< relref "../topics/" >}})

How do I make sure that refs in source code blocks are not parsed/interpreted?

Thanks in advance.


Like this:

{{</* relref "../topics/" */>}}

You can also set an error level in your site config file so it just gives a warning.