Skip to content

Wiki

Advanced Techniques

About 2 min read

1.Escape

Markdown uses many special symbols to represent specific meanings. If you need to display a specific symbol, you must use an escape character. Markdown uses a backslash to escape special characters:

**文本加粗** 
\*\* 正常显示星号 \*\*

Markdown supports adding a backslash before the following symbols to help insert ordinary symbols:

\   反斜线
`   反引号
*   星号
_   下划线
{}  花括号
[]  方括号
()  小括号
#   井字号
+   加号
-   减号
.   英文句点
!   感叹号

2.Mathematical formula

2.1.LaTeX mathematical formula basics

In Markdown, mathematical formulas are represented using LaTeX syntax. LaTeX is a powerful typesetting system, especially suitable for documents containing complex mathematical formulas.

2.1.1.Basic syntax structure

  • Command: begins with a backslash \, such as \alpha, \sum
  • Parameters: enclosed in curly braces {}, such as \frac{a}{b}
  • Subscript: use _, such as x_1
  • Superscript: use ^, such as x^2
  • Grouping: use curly braces to combine multiple characters, such as x_{i+1}

2.1.2.Common LaTeX Commands

\alpha, \beta, \gamma  % 希腊字母
\sum, \prod, \int      % 求和、乘积、积分
\frac{分子}{分母}      % 分数
\sqrt{表达式}          % 平方根
\sqrt[n]{表达式}       % n次根

To be updated