Support Latex

This commit is contained in:
thanhluong 2020-05-17 18:35:32 +00:00
parent a86a2b25e0
commit 9463e9bb0c

View file

@ -5,6 +5,7 @@
'ws://' + window.location.host + 'ws://' + window.location.host +
'/ws/chat/'); '/ws/chat/');
</script> </script>
<script type="text/javascript" src="{{ static('mathjax_config.js') }}"></script>
<script type="text/javascript"> <script type="text/javascript">
$(function() { $(function() {
let currentPage = 1; let currentPage = 1;
@ -179,6 +180,8 @@
}); });
</script> </script>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML"></script>
{% endblock js_media %} {% endblock js_media %}
{% block body %} {% block body %}