能提高生产率的Markdown介绍

来源:互联网 发布:古墓丽影崛起配置优化 编辑:程序博客网 时间:2024/05/22 06:10

Markdown是什么?

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

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

[Boostnote](Boostnote)


6.复选框

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


7.引文

> 引文> 引文引文


8.水平线

水平线有很多种写法。

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


9.嵌入图像

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

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


10.填写源代码

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

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


11.表格符号

表格也易于制作。

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

| 水果     | 价钱 ||:-----------|------:|| 苹果      | 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(流程图)

可以画流程图

``` flowchartst=>start: Start:>http://www.google.com[blank]e=>end:>http://www.google.comop1=>operation: My Operationsub1=>subroutine: My Subroutinecond=>condition: Yes or No?:>http://www.google.comio=>inputoutput: catch something... st->op1->condcond(yes)->io->econd(no)->sub1(right)->op1```


14.Sequence(序列)

也可以写序列。

``` sequenceTitle: Here is a titleA-> B: Normal lineB -> C: Dashed lineC - >> D: Open arrowD - >> A: Dashed open arrow```



以上就是Markdown记法的介绍。

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

原创粉丝点击