From 8e67f57e71743c09620841726ce56da9eda3dc77 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 22 Feb 2021 11:37:13 +0530 Subject: [PATCH] add 'When using figure shortcode' in centering images section under FAQs --- FAQs.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/FAQs.md b/FAQs.md index 82e794b..deadf6f 100644 --- a/FAQs.md +++ b/FAQs.md @@ -244,6 +244,16 @@ Add `#center` after image to center align an image ![name](path/to/image.png#center) ``` +**When using [`figure`](https://gohugo.io/content-management/shortcodes/) shortcode** + +use `align=center` to center image with captions + +ex. + +```md +{{< figure align=center src="image.jpg" >}} +``` + --- ## Using Hugo's Syntax highlighter "chroma"