markdown基本语法熟悉

来源:互联网 发布:编程一个球从100米落下 编辑:程序博客网 时间:2024/04/27 14:37

markdown基本语法熟悉

[toc]是目录

[toc]
#加内容是标题,根据#数量

一级标题

二级标题

三级标题

四级标题

下面加===为一级标题
下面加---为二级标题

一级标题

二级标题

> 后加块注释

块注释

nested

当>和文字之间有5个空格时,块注释的文字发生变化

haha
haha

sdf

hahasdf

**粗体** __粗体__ *斜体* _斜体_
粗体 粗体 斜体 斜体

<a href="http://itsong.net">sffd</a>
sffd

 haha : haha : haha
haha
haha

haha

  • *无序列表
  • *无序列表
    • 二级无序列表
      • 三级
        • 四级
  • +无序列表
  • -无序列表
  1. 数字加.加空格,有序列表
    1. 二级
      1. 三级
      2. 哈哈
  2. 有序列表

内联链接:

[itsong.net](http://itsong.net)

itsong.net

引用方式:

[itsong.net][1][1]: http://itsong.net "website"

itsong.net
图片:
内联方式:

![alt text]     (http://7xjjxv.com1.z0.glb.clouddn.com/jpg20130331201077117711.jpg)

alt text

引用方式:

![alt text][pic][pic]:http://7xjjxv.com1.z0.glb.clouddn.com/jpg20130331201077117711.jpg "haha"

alt text
代码:
haha <sf>
`this`

代码:tab+空格

class foo{    hah}

脚注:

hello[^ha][^ha]: hi

hello1
### 表格

| Item      |    Value | Qty  || :-------- | --------:| :--: || Computer  | 1600 USD |  5   || Phone     |   12 USD |  12  || Pipe      |    1 USD | 234  |
Item Value Qty Computer 1600 USD 5 Phone 12 USD 12 Pipe 1 USD 234


@(markdown)[马克飞象|帮助|Markdown]


  • markdown基本语法熟悉
  • 一级标题
    • 二级标题
      • 三级标题
        • 四级标题
  • 一级标题
    • 二级标题
      • 代码块
      • 快捷键

代码块

@requires_authorizationdef somefunc(param1='', param2=0):    '''A docstring'''    if param1 > param2: # interesting        print 'Greater'    return (param2 - param1 + 1) or Noneclass SomeClass:    pass>>> message = '''interpreter... prompt'''

快捷键

帮助 Cmd + /
同步文档 Cmd + S
创建文档 Cmd + Opt + N
最大化编辑器 Cmd + Enter
预览文档 Cmd + Opt + Enter
文档管理 Cmd + O
系统菜单 Cmd + M

加粗 Cmd + B
插入图片 Cmd + G
插入链接 Cmd + L
提升标题 Cmd + H


  1. hi ↩
0 0
原创粉丝点击