mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-20 18:05:15 -04:00
add figure align=center to FAQs
This commit is contained in:
parent
ebeb91be24
commit
c778c89962
1 changed files with 10 additions and 0 deletions
|
@ -239,6 +239,16 @@ Add `#center` after image to center align an image
|
||||||

|

|
||||||
```
|
```
|
||||||
|
|
||||||
|
**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…
Add table
Add a link
Reference in a new issue