Fix latex
This commit is contained in:
		
							parent
							
								
									b67a389bea
								
							
						
					
					
						commit
						b4ff12ca0b
					
				
					 3 changed files with 23 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -87,6 +87,15 @@
 | 
			
		|||
      {{if $.Site.Data.config.enableLinkPreview}}
 | 
			
		||||
        initPopover({{strings.TrimRight "/" .Site.BaseURL }})
 | 
			
		||||
      {{end}}
 | 
			
		||||
      {{if $.Site.Data.config.enableLatex}}
 | 
			
		||||
        renderMathInElement(document.body, {
 | 
			
		||||
          delimiters: [
 | 
			
		||||
            {left: '$$', right: '$$', display: true},
 | 
			
		||||
            {left: '$', right: '$', display: false},
 | 
			
		||||
          ],
 | 
			
		||||
          throwOnError : false
 | 
			
		||||
        });
 | 
			
		||||
      {{end}}
 | 
			
		||||
    };
 | 
			
		||||
    attachSPARouting(draw);
 | 
			
		||||
  </script>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue