-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path---katex.html
34 lines (28 loc) · 1.04 KB
/
---katex.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- Copied from https://katex.org/docs/browser.html#starter-template -->
<link rel="stylesheet" href="/assets/js/katex.min.css">
<!-- The loading of KaTeX is deferred to speed up page rendering -->
<script defer src="/assets/js/katex.min.js">
</script>
<!-- Automatically display code inside script tags with type=math/tex using KaTeX -->
<script defer src="/assets/js/mathtex-script-type.js">
</script>
<!-- To automatically render math in text elements, include the auto-render extension: -->
<script defer src="/assets/js/auto-render.min.js" onload="renderMathInElement(document.body, {
globalGroup: true,
trust: true,
strict: false,
throwOnError: false,
delimiters: [
{ left: '$$', right: '$$', display: true },
{ left: '$', right: '$', display: false },
{ left: '\\[', right: '\\]', display: true },
{ left: '\\(', right: '\\)', display: false }
],
});">
</script>
<!-- The KaTeX default is 1.21em, see https://katex.org/docs/font.html#font-size-and-lengths -->
<style>
.katex {
font-size: 1em;
}
</style>