mirror of
				https://github.com/pawroman/zola-theme-terminimal.git
				synced 2025-10-30 23:56:15 +01:00 
			
		
		
		
	Allow markdown in caption of figures
This commit is contained in:
		
							parent
							
								
									910e50b824
								
							
						
					
					
						commit
						a9969735db
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2,7 +2,7 @@ | |||
|   <figure class="{% if position %}{{ position }}{% else -%} center {%- endif %}" > | ||||
|     <img src="{{ src | safe }}"{% if alt %} alt="{{ alt }}"{% endif %}{% if style %} style="{{ style }}"{% endif %} /> | ||||
|     {% if caption %} | ||||
|       <figcaption class="{% if caption_position %}{{ caption_position }}{% else -%} center {%- endif %}"{% if caption_style %} style="{{ caption_style | safe }}"{% endif %}>{{ caption }}</figcaption> | ||||
|       <figcaption class="{% if caption_position %}{{ caption_position }}{% else -%} center {%- endif %}"{% if caption_style %} style="{{ caption_style | safe }}"{% endif %}>{{ caption | markdown() | safe }}</figcaption> | ||||
|     {% endif %} | ||||
|   </figure> | ||||
| {% endif %} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Heitor Pascoal de Bittencourt
						Heitor Pascoal de Bittencourt