mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 02:12:49 +01:00 
			
		
		
		
	refer https://github.com/adityatelange/hugo-PaperMod/pull/293#issue-585979395 for usage guide and examples
		
			
				
	
	
		
			16 lines
		
	
	
		
			286 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			286 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{ $.Scratch.Set "md" false }}
 | 
						|
 | 
						|
{{ if .IsNamedParams }}
 | 
						|
{{ $.Scratch.Set "md" (.Get "md") }}
 | 
						|
{{ else }}
 | 
						|
{{ $.Scratch.Set "md" (.Get 0) }}
 | 
						|
{{ end }}
 | 
						|
 | 
						|
<div dir="rtl">
 | 
						|
  {{ if eq ($.Scratch.Get "md") false }}
 | 
						|
    {{ .Inner }}
 | 
						|
  {{ else }}
 | 
						|
    {{ .Inner | markdownify }}
 | 
						|
  {{ end }}
 | 
						|
</div>
 |