能提升生产率的Markdown介绍

Markdown是什么?程序员

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

 

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

使用方法工具


1.标题

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

 

2.强调

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

 

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>

4.名单

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

5.连接

左侧写文字,右侧放入连接。this

[Boostnote](https://Boostnote)

6.复选框

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

7.引文

> 引文
> 引文引文

8.水平线

水平线有不少种写法。google

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

9.嵌入图像

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

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

 

10.填写源代码

对于程序员,能够写代码。code

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

11.表格符号

表格也易于制做。orm

复制并更改成各类各样的东西。blog

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

 


 

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

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

记事本须要与Markdown兼容。

 

若是能够的话,请您使用一下Boostnote

用Boostnote的话,附加上上述的基本的markdown记法,如下的描述也能够。


 

12.Latex

能够写数值公式。

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

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
```

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
```

 


 

以上就是Markdown记法的介绍。

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

相关文章
相关标签/搜索