测试 asciinema

测试链接

测试链接1

Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.

David LevithanWide Awake
Link to a post

Youtube

普通代码

1
2
3
4
5
6
7
8
import sys

def main():
print("Hello world")
sys.exit(0)

if __name__ == "__main__":
main()

流程图

1
2
3
4
5
6
7
8
9
10
11
12
13
14
st=>start: Start:>http://www.bing.com[blank]
e=>end:>http://www.bing.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...
para=>parallel: parallel tasks

st->op1->cond
cond(yes)->io->e
cond(no)->para
para(path1, bottom)->sub1(right)->op1
para(path2, top)->op1
1
2
st=>start: Start:>http://www.bing.com[blank]
e=>end:>http://www.bing.com

流程图代码2

st=>start: Start:>http://www.bing.com[blank]
e=>end:>http://www.bing.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...
para=>parallel: parallel tasks

st->op1->cond
cond(yes)->io->e
cond(no)->para
para(path1, bottom)->sub1(right)->op1
para(path2, top)->op1
_.compactUnderscore.js
1
2
_.compact([0, 1, false, 2, '', 3]);
=> [1, 2, 3]

公式

$$E=mc^2$$

表格测试

时间 内容
12:32 a simple nnn
Name Age
Fred 29
Jim 47
Harry 32
Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

很奇怪表格的渲染方式

Add echarts