Follow

Follow
Image Alignment For All Hashnode Articles 📏

Image Alignment For All Hashnode Articles 📏

Eleftheria Batsou's photo
Eleftheria Batsou
·Jun 21, 2022·

2 min read

Play this article

Table of contents

  • How To Align Images 🙈
  • How it works now 🙌
  • Who Can Use This Feature? 🙋‍♀️

We're excited to share another new feature release at Hashnode - our team has been busy shipping! 🛳️ In case you missed it, we shipped the Article Scheduling feature for all Hashnode Blogs last week — give it a read.

Our users requested features to make formatting easier and improve the visual design of their blogs. This is the first of many features coming your way to give more customization to your blog posts, and hopefully, image alignment is a small step in that direction.

happy

How To Align Images 🙈

When you upload an image, it is by default aligned to the left. Now with this new feature, you could center the image or align it to the right using some simple image attributes. Here are some examples:

Cat image Default: alignment on the left

How it works now 🙌

We built an easy solution to offer you more customization...!

Add in the end of the image the property align="left", align="center" or align="right" to align it correspondingly.

Left Alignment

Demo image showing a cat which is left aligned

// Markdown
![cat image](myAwesomeImage.png align="left")

Center Alignment

Demo image showing a cat which is center aligned

// Markdown
![cat image](myAwesomeImage.png align="center")

Right Alignment

Demo image showing a cat which is right aligned

// Markdown
![cat image](myAwesomeImage.png align="right")

Who Can Use This Feature? 🙋‍♀️

This feature is available to everyone, whether you have a personal blog or a teams blog, you can start taking advantage of it and customize your blog according to your preference.


What do you think of this feature? We'd love to know what you think in the comments below. Thanks for reading. 🙌

 
Share this