mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
add 'When using figure shortcode' in centering images section under FAQs
parent
858c65d23c
commit
8e67f57e71
10
FAQs.md
10
FAQs.md
@ -244,6 +244,16 @@ Add `#center` after image to center align an image
|
|||||||
![name](path/to/image.png#center)
|
![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"
|
## Using Hugo's Syntax highlighter "chroma"
|
||||||
|
Loading…
Reference in New Issue
Block a user