MathJax
This commit is contained in:
		
							parent
							
								
									1c9ae330dd
								
							
						
					
					
						commit
						f2133cc50a
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -16,6 +16,19 @@ | |||
|     <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}fluent_comments/css/ajaxcomments.css" /> | ||||
|     <script type="text/javascript" src="{{ STATIC_URL }}fluent_comments/js/ajaxcomments.js"></script> | ||||
| 
 | ||||
|     {# nastavení MathJaxu, aby nahrazoval i matiku obalenou jednoduchými $ #} | ||||
|     <script type="text/x-mathjax-config"> | ||||
|       MathJax.Hub.Config({ | ||||
|         tex2jax: { | ||||
|           inlineMath: [['$','$'], ['\\(','\\)']], | ||||
|           processEscapes: true | ||||
|         } | ||||
|       }); | ||||
|     </script> | ||||
|     <script type="text/javascript" | ||||
|       src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||||
|     </script> | ||||
| 
 | ||||
|   </head> | ||||
|   <body class='{% if user.is_authenticated %}org-logged-in{% endif %}'> | ||||
|   {# TODO predelat pro pouze pro orgy (misto pro prihlasene) #} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián