fasionchan

读万卷书,行万里路,品万味肴,撸万行码。

代码高亮样例

Python

python或者py

1
2
3
4
5
6
7
8
9
10
11
12
13
14
from time import time as get_cur_ts


def a():
    print 'hello world'


class Foo(object):

    def __init__(self):
        pass

if __name__ == '__main__':
    print get_cur_ts()

Shell

sh

1
2
3
4
5
6
7
# 管道
ls | tee /some/output/file.txt

# 变量
echo "$PATH"

ps aux > /some/output/file.txt

Comments