Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center images in the content of blog posts #67

Open
Parthiv-M opened this issue Feb 28, 2025 · 1 comment · May be fixed by #69
Open

Center images in the content of blog posts #67

Parthiv-M opened this issue Feb 28, 2025 · 1 comment · May be fixed by #69
Labels
dev Label to tag all development related tasks good first issue Good for newcomers

Comments

@Parthiv-M
Copy link
Member

Currently, images seem to be left aligned when placed in blog posts. Make it center aligned to improve the visual appeal and consistency of the blog post itself.

Additional references

Tips for PR

  • Add a screenshot of an existing blog post with properly aligned images
@Parthiv-M Parthiv-M added dev Label to tag all development related tasks good first issue Good for newcomers labels Feb 28, 2025
@swayamsharma16
Copy link

swayamsharma16 commented Mar 2, 2025

You can now center any image by adding #center to the image URL, like this:
{{< figure src="/images/your-image.png#center">}}

@swayamsharma16 swayamsharma16 linked a pull request Mar 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Label to tag all development related tasks good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants