I want to define a macro in a Markdown cell of a Jupyter notebook. But it seems that we cannot define it.
For example, I want to define a macro which formats vectors. The code in the cell is:
\newcommand{\vect}[1]{{\mathbf{\boldsymbol{{#1}}}}}
This is the vector $\vect{x}$.
The rendering is:
PS The question was asked at https://tex.stackexchange.com/questions/281535/latex-macros-in-markdown, but it is not relevant directly to LaTeX, and the question was tagged as off-topic.

