美文网首页
Markdown快速入门

Markdown快速入门

作者: 阳明先生1208 | 来源:发表于2016-07-24 09:41 被阅读8次

在MacOS上建议使用 Mou 这款Markdown编辑器,它支持实时编辑预览。

标题

标题

列表

列表

引用

引用

图片和链接

  1. 插入图片


    图片
  2. 插入链接
    百度一下,你就知道

表格

编辑方式:

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

效果预览:

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

代码

  • 单行代码或特殊字符用`或者<code标签> 将其包装起来:

var person = (name: "haha", age: 25)

  • 代码块用```将其包装起来:
override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

粗体和斜体

粗体 就是用**将文本内容包装起来, 斜体 就是用 * 包装文本。

分割线


分割线即 ***

相关文章

网友评论

      本文标题:Markdown快速入门

      本文链接:https://www.haomeiwen.com/subject/supijttx.html