Markdown基本语法指北
\(\color{red}Markdown\)
一级标题
二级标题
三级标题
四级标题
五级标题
六级标题
分割线
加粗 \(**加粗文字**\)
$ $
中可放\(\color{red}\LaTeX\)公式,详询请看 LaTeX语法。
还可以这么玩
\(-_--\)
代码语法
最前加语法名称,中间加代码
#include <iostream>
using namespace std;
int main(){
return 0;
}
表格语法
\(\color{red}表格\) | \(\color{red}表格\) | \(\color{red}表格\) | \(\color{red}表格\) |
---|---|---|---|
\(\color{orange}表格\) | \(\color{orange}表格\) | \(\color{orange}表格\) | \(\color{orange}表格\) |
\(\color{yellow}表格\) | \(\color{yellow}表格\) | \(\color{yellow}表格\) | \(\color{yellow}表格\) |
\(\color{darkgreen}表格\) | \(\color{darkgreen}表格\) | \(\color{darkgreen}表格\) | \(\color{darkgreen}表格\) |
\(\color{lightgreen}表格\) | \(\color{lightgreen}表格\) | \(\color{lightgreen}表格\) | \(\color{lightgreen}表格\) |
\(\color{blue}表格\) | \(\color{blue}表格\) | \(\color{blue}表格\) | \(\color{blue}表格\) |
\(\color{purple}表格\) | \(\color{purple}表格\) | \(\color{purple}表格\) | \(\color{purple}表格\) |
代码:
|$\color{red}表格$|$\color{red}表格$|$\color{red}表格$|$\color{red}表格$|
|---|---|---|---|
|$\color{orange}表格$|$\color{orange}表格$|$\color{orange}表格$|$\color{orange}表格$|
|$\color{yellow}表格$|$\color{yellow}表格$|$\color{yellow}表格$|$\color{yellow}表格$|
|$\color{darkgreen}表格$|$\color{darkgreen}表格$|$\color{darkgreen}表格$|$\color{darkgreen}表格$|
|$\color{lightgreen}表格$|$\color{lightgreen}表格$|$\color{lightgreen}表格$|$\color{lightgreen}表格$|
|$\color{blue}表格$|$\color{blue}表格$|$\color{blue}表格$|$\color{blue}表格$|
|$\color{purple}表格$|$\color{purple}表格$|$\color{purple}表格$|$\color{purple}表格$|
转义字符
- \ 可用于后加符号、字符
列如
* - +