<img> tag does not work

i have multiple svg icons in the static/ folder in hugo site
my site works

when i insert svgs via

![some text](image.png)

it works but when i try

<img src=image.png height=x width=y> 

it doesnt work

By default, Goldmark (the default markdown parser) does not render raw HTML.

You can change this with this setting:

markup:
  goldmark:
    renderer:
      unsafe: true

See Configure Markup | Hugo

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.