mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-26 15:39:30 -05:00
add figure align=center to FAQs
This commit is contained in:
parent
ebeb91be24
commit
c778c89962
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user