Making a column vector in wordpress blog using Latex

I am new to blogging and using latex here. I want to make a column vector as

I can do this in regular latex platforms like overleaf.

But when I type

$latex h = \begin{bmatrix}

h_1 \\

h_2 \\

\vdots \\

h_n

\end{bmatrix}

$

in WordPress, nothing happens and I get the exact same output in the preview.

So, how do I make a column vector?

Topic blog latex Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.