diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-05-19 12:35:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-05-19 12:37:51 -0400 |
commit | 6c30448de288ff6232d6123d6e0d695ea3ce581c (patch) | |
tree | 204713c2cea72bb1169d3170bc450e16f6aa8cac /katex-header.html | |
parent | 90752ebee164efea738272d162c93edc56e0fc10 (diff) | |
download | acap-6c30448de288ff6232d6123d6e0d695ea3ce581c.tar.xz |
docs: Update katex to 0.13.11
Diffstat (limited to 'katex-header.html')
-rw-r--r-- | katex-header.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/katex-header.html b/katex-header.html index 4e73ba1..749d80a 100644 --- a/katex-header.html +++ b/katex-header.html @@ -1,8 +1,10 @@ <!-- Credit: https://stackoverflow.com/a/54573800 --> <!-- Credit: https://github.com/m-ou-se/rust-horrible-katex-hack/blob/master/src/lib.rs --> -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous" /> -<script defer src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script> +<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css" integrity="sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc" crossorigin="anonymous"> + +<script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.js" integrity="sha384-YNHdsYkH6gMx9y3mRkmcJ2mFUjTd0qNQQvY9VYZgQd7DcN7env35GzlmFaZ23JGp" crossorigin="anonymous"></script> + <script> document.addEventListener("DOMContentLoaded", () => { let codes = [...document.getElementsByTagName("code")]; |