diff options
author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-02-22 19:17:10 +0300 |
---|---|---|
committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-02-22 19:17:10 +0300 |
commit | c778c899624ea860b650e60e210e9120ee310ccf (patch) | |
tree | c9dd3a653e15bf4de8707faaef0554760d1a40e1 | |
parent | ebeb91be24557c749bf3d722155e96cecdc5b94c (diff) |
add figure align=center to FAQs
-rw-r--r-- | content/posts/papermod/papermod-faq.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/content/posts/papermod/papermod-faq.md b/content/posts/papermod/papermod-faq.md index 217f037c..52091c94 100644 --- a/content/posts/papermod/papermod-faq.md +++ b/content/posts/papermod/papermod-faq.md @@ -239,6 +239,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" |