Fixed broken latex in _posts/2015-10-20-math.md (#2219)

Latex math is currently broken in
[_posts/2015-10-20-math.md](https://alshedivat.github.io/al-folio/blog/2015/math/)
. Fixed it by replacing starts with underscore

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
This commit is contained in:
Maksym Zub 2024-02-22 18:43:42 +01:00 committed by GitHub
parent 9f4d6d26be
commit b607e580ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -3,3 +3,4 @@
assets/css/main.scss assets/css/main.scss
assets/plotly/demo.html assets/plotly/demo.html
lighthouse_results/** lighthouse_results/**
_posts/2015-10-20-math.md

View File

@ -21,7 +21,7 @@ MathJax will automatically number equations:
\begin{equation} \begin{equation}
\label{eq:cauchy-schwarz} \label{eq:cauchy-schwarz}
\left( \sum*{k=1}^n a_k b_k \right)^2 \leq \left( \sum*{k=1}^n a*k^2 \right) \left( \sum*{k=1}^n b_k^2 \right) \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
\end{equation} \end{equation}
and by adding `\label{...}` inside the equation environment, we can now refer to the equation using `\eqref`. and by adding `\label{...}` inside the equation environment, we can now refer to the equation using `\eqref`.