Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/adityatelange/hugo-PaperMod.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-02-22 19:17:10 +0300
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-02-22 19:17:10 +0300
commitc778c899624ea860b650e60e210e9120ee310ccf (patch)
treec9dd3a653e15bf4de8707faaef0554760d1a40e1
parentebeb91be24557c749bf3d722155e96cecdc5b94c (diff)
add figure align=center to FAQs
-rw-r--r--content/posts/papermod/papermod-faq.md10
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"