学习使用MarkDown

文本采用CuteMarkEd软件编写后复制到博客园(这个软件可以实时观看html效果,也可以打印pdf,挺好使。测试比sublime装插件要简单方便)

MarkDown格式文本

名称
=========
#标题1
##标题2

##语法
单星号 = *斜体*  
单下划线 = _斜体_  
双星号 = **加粗**  
双下划线 = __加粗__  

##脚注
hello[^hello]
[^hello]: 你好


##列表
1. 列表1
2. 列表2
3. 列表3

##行
1. 第一行
+ 第二行
+ 第三行

##Links连接
这是一个链接[大学生电子商铺](http://ilovemcu.taobao.com "淘宝店铺")。
这是一个Reference[示例][ref]。
[ref]: http://ilovemcu.taobao.com



##图片
内联方式:

Inline示例:![替代文本](./img/标题.jpg "可选的title")
Reference示例:![替代文本][pic]
[pic]: ./img/标题.jpg "可选的title"
HTML示例:  
<img src="./img/标题.jpg" alt="替代文本" title="标题文本" width="400" />

![大学生电子商铺](file:///E:/1.MySourceCode/MarkDownProject/img/标题.jpg "淘宝店铺")

##代码块
在该行开头缩进4个空格或一个制表符(tab)
 
<strong>Blockquotes 引用:</strong>
> Email-style angle brackets
> are used for blockquotes.
> > And, they can be nested.
> #### Headers in blockquotes
- You can quote a list.
- Etc.
##代码框
```c
void main()
{

}

```

效果如下

标题1

标题2

语法

单星号 = 斜体
单下划线 = 斜体
双星号 = 加粗
双下划线 = 加粗

脚注

hello[1]

列表

  1. 列表1
  2. 列表2
  3. 列表3

  1. 第一行
  • 第二行
  • 第三行

Links连接

这是一个链接大学生电子商铺

这是一个Reference[示例][ref]。
[ref]: http://ilovemcu.taobao.com

图片

内联方式:

代码块

在该行开头缩进4个空格或一个制表符(tab)

Blockquotes 引用:

Email-style angle brackets
are used for blockquotes.

And, they can be nested.

Headers in blockquotes

  • You can quote a list.
  • Etc.

代码框

void main()
{

}


  1. 你好 ↩︎

原文地址:https://www.cnblogs.com/Mysterious/p/5641876.html