markdown语法小结

  • 引用数学公式[1]

\[\begin{equation}
\pi^2=x^2+y
\label{eq_lab1}
\end{equation}
\]

Here we cite this equation by \(\eqref{eq_lab1}\)

$$
\begin{equation}
\pi^2=x^2+y
\label{eq_lab1}
\end{equation}
$$
Here we cite this equation by $\eqref{eq_lab1}$
  • 设置字体颜色[2]

    some This is Blue text.

    <span style="color:blue">some This is Blue italic. text</span>
  • 设置字体为斜体和黑体[2:1]

    This is 斜体

    *This is 斜体*

    This is 黑体

    **This is 黑体**
  • 引用参考文献[3]
Citation from the review paper of G. Vlad [^ref1] and R. Tom [^ref2].
[^ref1]: G. Vlad 1990 RSI paper.
[^ref2]: R. Tom 1992 PHP paper.

注意在参考文献列表之间要用回车隔开一行。Bug之处在于markdown还无法识别重复的引用,所以如果多次引用同一篇文献,在末尾的文献列表中会重复。


  1. https://github.com/typora/typora-issues/issues/48 ↩︎

  2. https://*.com/questions/35465557/how-to-apply-color-in-markdown ↩︎ ↩︎

  3. http://www.chriskrycho.com/2015/academic-markdown-and-citations.html ↩︎

上一篇:Codevs1380没有上司的舞会_KEY


下一篇:Spring Boot 中应用Spring data mongdb