forked from deepStateMirrors/tabi
✨ feat: add KaTeX support
This commit is contained in:
parent
7a1bb1d04c
commit
f9335b3fa4
66 changed files with 35 additions and 5 deletions
|
@ -21,6 +21,12 @@
|
|||
{% endblock main_content %}
|
||||
</div>
|
||||
{% include "partials/footer.html" %}
|
||||
|
||||
{% if page.extra.katex and page.extra.katex == true %}
|
||||
<link rel="stylesheet" href="{{ get_url(path='katex.min.css', trailing_slash=false) | safe }}">
|
||||
|
||||
<script defer src="{{ get_url(path='js/katex.min.js', trailing_slash=false) | safe }}"></script>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue