Skip to content

Commit

Permalink
Fix #276 with KaTeX v0.13.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed May 10, 2021
1 parent 26b0095 commit 44508b2
Show file tree
Hide file tree
Showing 65 changed files with 1,114 additions and 901 deletions.
2 changes: 1 addition & 1 deletion _includes/default/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
{% endif %}

<!-- KaTeX 0.12.0 -->
<!-- KaTeX 0.13.9 -->
{% if site.katex or site.theme_settings.katex %}
<script defer src="{{ '/assets/js/vendor/katex.min.js' | relative_url }}"></script>
<script defer src="{{ '/assets/js/vendor/auto-render.min.js' | relative_url }}" onload="renderMathInElement(document.body);"></script>
Expand Down
14 changes: 14 additions & 0 deletions _posts/2021-04-27-dark-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,17 @@ class Bar(object):
| A | 10 | 12 |
| F | 16 | 20 |
| F5 | 21 | 25 |

## Katex

Some katex diagrams to check in dark mode:

$$
\begin{CD}
A @>a>> B \\
@VbVV @AAcA \\
C @= D
\end{CD}
$$

$$\utilde{AB}$$
Loading

0 comments on commit 44508b2

Please sign in to comment.