Hello

hello world

markdown 支持

普通文本

引用文本

普通文本 强调. 普通文本.

表格

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

列表.

em 标签 In lorem erat, sollicitudin varius posuere id, molestie ac eros.

无序列表

Ornare
Cras vel nisi condimentum, hendrerit lacus sed, scelerisque ipsum.
Convallis
In lorem erat, sollicitudin varius posuere id, molestie ac eros

有序列表

  1. Nam bibendum turpis massa, at accumsan justo fermentum ac.
  2. Nulla non nulla ut ante condimentum mattis vel at lectus.
  3. Etiam eget tortor tincidunt, iaculis ligula a, tristique massa. Fusce sed congue lorem, interdum sodales nisl.

换行


代码

class Greeter
  def initialize(message)
    @message = message
  end

def greet
puts message
end
end

john = Greeter.new 'Hello, World'

john.greet

#include<iostream.h>

int main(){
	cout<<"hello world !"<<endl;
	return 0;
}

数学公式

$a \ne 0$

$\alpha+\beta=\gamma$

流程图

甘特图demo代码:

    ```mermaid
    gantt
    dateFormat  YYYY-MM-DD
    title Adding GANTT diagram functionality to mermaid
    section A section
    Completed task            :done,    des1, 2014-01-06,2014-01-08
    Active task               :active,  des2, 2014-01-09, 3d
    Future task               :         des3, after des2, 5d
    Future task2               :         des4, after des3, 5d
    section Critical tasks
    Completed task in the critical line :crit, done, 2014-01-06,24h
    Implement parser and jison          :crit, done, after des1, 2d
    Create tests for parser             :crit, active, 3d
    Future task in critical line        :crit, 5d
    Create tests for renderer           :2d
    Add to mermaid                      :1d
    ```

显示效果:

gantt
        dateFormat  YYYY-MM-DD
        title Adding GANTT diagram functionality to mermaid
        section A section
        Completed task            :done,    des1, 2014-01-06,2014-01-08
        Active task               :active,  des2, 2014-01-09, 3d
        Future task               :         des3, after des2, 5d
        Future task2               :         des4, after des3, 5d
        section Critical tasks
        Completed task in the critical line :crit, done, 2014-01-06,24h
        Implement parser and jison          :crit, done, after des1, 2d
        Create tests for parser             :crit, active, 3d
        Future task in critical line        :crit, 5d
        Create tests for renderer           :2d
        Add to mermaid                      :1d

流程图demo代码:

    ```mermaid
    graph TD;
            A-->B;
            A-->C;
            B-->D;
            C-->D;
    ```

显示效果:

graph TD;
        A-->B;
        A-->C;
        B-->D;
        C-->D;

时序图demo代码:

    ```mermaid
    sequenceDiagram
    participant Alice
    participant Bob
    Alice->John: Hello John, how are you?
    loop Healthcheck
            John->John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail...
    John-->Alice: Great!
    John->Bob: How about you?
    Bob-->John: Jolly good!
    ```

显示效果:

sequenceDiagram
    participant Alice
    participant Bob
    Alice->John: Hello John, how are you?
    loop Healthcheck
        John->John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail...
    John-->Alice: Great!
    John->Bob: How about you?
    Bob-->John: Jolly good!

视频

<iframe src="//player.bilibili.com/player.html?aid=41136868&cid=72254635&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="95%" height="450"></iframe>