Figure shortcode

Iara Authors
· 1 min read

You can use Shortcodes to display images in any part of your article.

Here is a example on how to use it:

1
{{< figure src="/images/cover.jpg" width="100%" title="Cover" caption="Photo by Ricardo Rocha on [Unsplash](https://unsplash.com/t/wallpapers)" >}}

And here is the result:

Photo by Ricardo Rocha on Unsplash

Cover

Photo by Ricardo Rocha on Unsplash

And here is another example:

Built with Hugo

Built with Hugo