文本样式

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

123
45679
888
977979

h1 标题

h2 标题

h3 标题

h4 标题

h5 标题
h6 标题

水平线

_



列表

无序

  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:

    • Marker character change forces new list start:

      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

有序

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. You can use sequential numbers...
  5. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

数学公式

$$ E = mc^2 $$

$$ u_t = \Delta u $$

$$ ( {e}^{\pi i} = 1) $$

$$ u_t = \Delta u + f % formula without numbering $$

$$ \begin{equation} f(z) = \frac{1}{2\pi i} \oint_\gamma \frac{f(\xi)}{\xi - z} d\xi. \end{equation} $$

引用

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
echo phpinfo();

代码

Inline code

Indented code

// Some comments
line 1 of code
line 2 of code
line 3 of code

Block code "fences"

Sample text here...

Syntax highlighting

var foo = function (bar) {
  return bar++;
};

console.log("As far as I'm aware, it's not possible* to put variables within the markdown file's content because MD parser would strip them, but it's possible to do it using custom variables on the front matter of each .md content file. The Hugo engine can target any fields you set in front matter. Front matter fields can be unique as well.");
李雷 -> 韩梅梅: Hello 梅梅, How are you?
Note right of 韩梅梅: 韩梅梅心想
韩梅梅 --> 李雷: I'm fine, thanks, and you?
flowchatchat
开始=>start: 开始框
op=>operation: 处理框
cond=>condition: 判断框(是或否?)
sub1=>subroutine: 子流程
io=>inputoutput: 输入输出框
e=>end: 结束框
开始(right)->op(right)->cond
cond(yes)->io(bottom)->e
cond(no)->sub1(right)->op
gantt
        dateFormat  YYYY-MM-DD
        title 快乐的生活
        section 吃一把鸡就学习
        学习            :done,    des1, 2014-01-06,2014-01-09
        疯狂学习               :active,  des2, 2014-01-09, 3d
        继续疯狂学习               :         des3, after des2, 5d
        吃鸡!               :         des4, after des3, 4d
        section 具体内容
        学习Python :crit, done, 2014-01-06,72h
        学习C++          :crit, done, after des1, 2d
        学习Lisp             :crit, active, 3d
        学习图形学        :crit, 4d
        跳伞           :2d
        打枪                      :2d

强调

Lord knows dreams are hard to follow, but don't let anyone tear them away.

Lord knows dreams are hard to follow, but don't let anyone tear them away.

Lord knows dreams are hard to follow, but don't let anyone tear them away.

Lord knows dreams are hard to follow, but don't let anyone tear them away.

Lord knows dreams are hard to follow, but don't let anyone tear them away.

Lord knows dreams are hard to follow, but don't let anyone tear them away.

按键

See the Pen typing text transition by Yang (@xxyangyoulin) on CodePen.