Mathjax in Jekyll

Some references I used to add Mathjax support in my notes:

Test:

Inline: $\dot{x} = Ax+Bu$

Centered: \(P(A|X) = \frac{P(X|A)P(A)}{P(X)}\)

Colored set of equations (line break not working):

\begin{align*} \color{red}a \color{black} = 1, \
\color{blue}{b} \color{black}= 1, \
\color{red}{a} \color{black}+ \color{blue}{b} \color{black}= 2 \end{align*}