KaTeX/KaTeX

not support figure

kylincodelab opened this issue · 2 comments

Expected behavior:
not support figure

\begin{figure}[htp]
    \centering
    \begin{tikzpicture}[>=latex]
  \draw [fill=black] (0,0) circle(1.5pt);
\node at (0,-.25){$O$};
\draw[|-|] (0,1)--node[above]{1}(1,1);
        \draw[->] (-3,0)--(4,0)node [right]{$X$};
        \draw [->](-1,-1)--(1,-1)node [right]{正方向};
    \end{tikzpicture}
    \caption{}
\end{figure}

Screenshots:
图片

Environment (please complete the following information):

  • KaTeX Version: 0.16.8
  • Device: pc
  • OS: mac osx
  • Browser: Chrome, Safari
  • Version: the latest