feat: add support for mermaid diagrams (#244)
This commit is contained in:
		
							parent
							
								
									66f3e249fe
								
							
						
					
					
						commit
						5f3d430699
					
				
					 5 changed files with 31 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								layouts/_default/_markup/render-codeblock-mermaid.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								layouts/_default/_markup/render-codeblock-mermaid.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
<div class="mermaid">
 | 
			
		||||
  {{- .Inner | safeHTML }}
 | 
			
		||||
</div>
 | 
			
		||||
{{ .Page.Store.Set "hasMermaid" true }}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue