inital setup
This commit is contained in:
9
layouts/partials/helpers/katex.html
Normal file
9
layouts/partials/helpers/katex.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">
|
||||
|
||||
<!-- The loading of KaTeX is deferred to speed up page rendering -->
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- To automatically render math in text elements, include the auto-render extension: -->
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
|
||||
onload="renderMathInElement(document.body);"></script>
|
||||
|
||||
6
layouts/partials/helpers/tikz.html
Normal file
6
layouts/partials/helpers/tikz.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<link rel="stylesheet" type="text/css" href="https://drwater.rcees.ac.cn/datapool/public/assets/css/fonts.css">
|
||||
<script src="https://drwater.rcees.ac.cn/datapool/public/assets/js/tikzjax.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="https://tikzjax.com/v1/fonts.css">
|
||||
<script src="https://tikzjax.com/v1/tikzjax.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user