setting

in ⚙️config.yml

1
markdown: kramdown

in 📐scripts.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script
    type="text/javascript" async
    src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML">
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
        extensions: ["tex2jax.js"],
        jax: ["input/TeX", "output/HTML-CSS"],
        tex2jax: {
            inlineMath: [ ['$','$'], ["\\(","\\)"] ],
            displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
            processEscapes: true
        },
        "HTML-CSS": { availableFonts: ["TeX"] }
    });
</script>

use

inline

1
2
for every positive $x,y \in \mathbb{R}$,
there is an integer $n$ with $nx > y$

for every positive $x,y \in \mathbb{R}$,
there is an integer $n$ with $nx > y$

displayed

1
2
3
4
5
6
$$
\begin{align*}
  & \forall \epsilon > 0, \exists \delta > 0 \\
  & \text{such that } \forall x \in \mathbb{R} \text{ with } 0 < |x-p| < \delta, |f(x)-L| < \epsilon
\end{align*}
$$
\[\begin{align*} & \forall \epsilon > 0, \exists \delta > 0 \\ & \text{such that } \forall x \in \mathbb{R} \text{ with } 0 < |x-p| < \delta, |f(x)-L| < \epsilon \end{align*}\]