How to display images in hugo


There are multiple ways we can insert images in hugo posts.

Hugo posts are in different

Hugo posts are written in markdown files. These are plain text content with special syntax. Adding image to markdown files in hugo

Here is an syntax for Adding images to posts in Hugo

![your image](/post/images/your-image.png)

Using Figure short code

Syntax

figure is an inbuilt short codes provided by hugo static generator

syntax alt text string

Primeng Angular Tutorials with examples

if we want full control how we want to displays We can write a shortcode for image displays

THE BEST NEWSLETTER ANYWHERE
Join 6,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.

Similar Posts
Subscribe
You'll get a notification every time a post gets published here.