MunifTanjim / minimo

Minimo - Minimalist theme for Hugo
https://minimo.netlify.app
MIT License
545 stars 220 forks source link

support/feat: Insert image without using cover #336

Closed dannyloxavier closed 2 years ago

dannyloxavier commented 2 years ago

Hi!

Is it possible to use ![example](path/to/img.jpg) to render images in pages and posts? (not only with cover: option) I'm not having success and didn't find anything about in the minimo documentation. =/

MunifTanjim commented 2 years ago

Of course. That is markdown feature. The theme (in this case, minimo) has nothing to do with that.

Maybe you've got the path wrong? Can you show me an example repo where you tried that?

dannyloxavier commented 2 years ago

found the problem... I'm using old .md files (migrating from another theme) It was:

<center>
![example](path/to/img.jpg)
</center>

Removing the unnecessary HTML code solved the problem. Sorry for my mistake. =/ And thank you for your response.