能提高生产率的Markdown介绍

Markdown是什么?

Markdown 是一种轻量级标记语言,创始人为約翰·格魯伯(英语:John Gruber)。它允许人们“使用易读易写的纯文本格式编写文档,然后转换成有效的XHTML(或者HTML)文档”。这种语言吸收了很多在电子邮件中已有的纯文本标记的特性。
(参考网站:  https://zh.wikipedia.org/wiki/Markdown)

 

那么,我们就来介绍一下Markdown。

使用方法

1.标题

# 大标题
## 副标题
### 小标题
标准

20164204_3AB1.jpg

2.强调

*斜体类型*
**黑体字**

20164205_91J2.jpg

 

3.折叠

折叠长句

<details><summary>Boostnote是对应markdown记法的记事本,信息排序・共享的一种工具。</summary>
- Features - <br>
· Search function to find memos in one shot
· Supports markdown notation <br>
· Support for Mac, Windows, Linux, iOS, Android <br>
· Export and import to Plain text (.txt), Markdown (.md) format <br>
· Supports PDF saving <br>
· Can be used offline <br>
· Synchronize to dropbox etc. with setting <br>
· Supports theme colors and numerous fonts <br>
</details>

20164205_HYXw.jpg

20164205_y7u5.jpg

 

4.名单

* 名单1
* 名单2
* 名单3

20164205_rrDP.jpg

 

5.链接

左侧写文字,右侧放入链接。

[Boostnote](Boostnote)

20164205_lAZ7.jpg

 

6.复选框

- [x] 任务 1
- [ ] 任务 2

20164205_x7Aj.jpg

 

7.引文

> 引文
> 引文引文

20164205_pDJf.jpg

 

8.水平线

水平线有很多种写法。

* * *
***
*****
- - -
---------------------------------------

20164205_XT21.jpg

 

9.嵌入图像

把图片的标题写在左侧,右侧写下已保存的地方。

![嵌入图像](https://boostnote.io/assets/img/logo.png)

20164205_MoFp.jpg

 

10.填写源代码

对于程序员,可以写代码。

``` js
Render: function () {
Return (
<Div className = "commentBox">
<H1> Comments </ h1>
<CommentList data = {this.state.data} />
<CommentForm onCommentSubmit = {this.handleCommentSubmit} />
</ Div>
);
}
```

20164205_bYbu.jpg

 

11.表格符号

表格也易于制作。

复制并更改为各种各样的东西。

| 水果     | 价钱 |
|:-----------|------:|
| 苹果      | 1$    |
| 葡萄     | 4$    |
| 橙子     | 2$    |
| 柠檬      | 1$    |
| 桃子      | 3$    | 
| 瓜      | 20$   |

20164205_fhCu.jpg

 

到这里,就是Markdown最基本的写法。

Markdown记法不能再普通的记事本中使用。

记事本需要与Markdown兼容。

 

如果可以的话,请您使用一下Boostnote

用Boostnote的话,附加上上述的基本的markdown记法,以下的描述也可以。

 

12.Latex

可以写数值公式。

$$$
\mathrm{e}^{\mathrm{i}\theta} = \cos(\theta) + \mathrm{i}\sin(\theta)
$$$

20164205_ARkd.jpg

 

13.Flowchart(流程图)

可以画流程图

``` flowchart
st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes or No?:>http://www.google.com
io=>inputoutput: catch something...
 
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
```

20164205_Gz1L.jpg

 

14.Sequence(序列)

也可以写序列。

``` sequence
Title: Here is a title
A-> B: Normal line
B -> C: Dashed line
C - >> D: Open arrow
D - >> A: Dashed open arrow
```

20164205_bzNh.jpg

 

 

以上就是Markdown记法的介绍。

更多的使用它与周围与众不同。

转载于:https://my.oschina.net/u/3718847/blog/1590359

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值