reference:
Markdown輸入LaTeX數學公式php
用zuoyebuluo的markdown編輯器是能夠直接輸入公式的。格式以下
\begin{equation}
P(\omega i|x)p(x) = p(x|\omega i )P(\omega i )
\end{equation}html
latex在線編輯器
輸入公式,生成latex公式,而後選擇此頁面的developer--inspector,選擇latex公式的那個元素,把那行html複製粘貼在Markdown文本中。
效果以下:
markdown