mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 10:22:44 +01:00 
			
		
		
		
	add figure align=center to FAQs
This commit is contained in:
		@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user