Basic markdown examples are shown below
This text is bold
This text is also bold
This text is italic
This text is also italic
This text is italic and bold
An h2 heading
An h3 heading...
An h6 heading
A list with numbers:
1. One
2. Two
3. Three
A list with bullets:
Bullet
Bullet
* Bullet
Here's a blockquote:
Simple is better than complex
Here's a table:
Column1 | Column 2 | Column 3 |
---|---|---|
Value 1 | Value 2 | Value 3 |
Value 4 | Value 5 | Value 6 |
Value 7 | Value 8 | Value 9 |
Colons can be used to align columns.
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.
Markdown | Less | Pretty |
---|---|---|
Still | renders |
nicely |
1 | 2 | 3 |
var s = "JavaScript syntax highlighting";
alert(s);
:::python3
s = "Python syntax highlighting"
print s
:::html
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
:::
# 输入宽度: 30
------------------------------
商 品 价 格
······························
面 粉 6.50
韭 菜 3.50
鸡 蛋 10.00
虾 仁 18.60
酱 油 12.00
------------------------------
多行公式:
displaystyle
left( sum_{k=1}^n a_k b_k right)^2
leq
left( sum_{k=1}^n a_k^2 right)
left( sum_{k=1}^n b_k^2 right)
:::katex
displaystyle
frac{1}{
Bigl(sqrt{phi sqrt{5}}-phiBigr) e^{
frac25 pi}} = 1+frac{e^{-2pi}} {1+frac{e^{-4pi}} {
1+frac{e^{-6pi}}
{1+frac{e^{-8pi}}
{1+cdots} }
}
}
:::latex
f(x) = int_{-infty}^infty
hat f(xi),e^{2 pi i xi x}
,dxi
近期评论