什么是 Markdown?

Markdown是有纯文本格式语构的轻量级标记语言. 通过使用同样的名字,它可以被转换成HTML以及许多其他格式。

转自 英文维基百科

Markdown的格式介绍

  1. 标题

# h1
## h2
### h3
standard


2. 强调

*Italic type*
**Bold**
~~Negative~~


3. 折叠

折叠长句

<details><summary>Boostnote is a notepad corresponding to markdown notation, which is a tool for organizing and sharing information.</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. 列表

- List 1

- List 2

* List 3

5. 链接

把内容写在左边,把链接的URL放在右边

[Boostnote](https://boostnote.io)

6. 复选框

- [x] Task 1

- [ ] Task 2

7. 引用

> Quotation

> Quotation Quotation

8. 水平线

水平线有多种不同的表达方式

* * *

***

---

9. 图片

把图片的名字放在左边,把图片的保存路径放在右边。

![Image title](https://boostnote.io/assets/img/logo.png)

10. 源代码

```js

Render : function () {

Return (

<Div className = “commentBox”>

<H1> Comments </ h1>

<CommentList data = {this.state.data} />      <CommentForm onCommentSubmit = {this.handleCommentSubmit} />

</Div>

);

}

```


11. 表格

| Fruits | Price |

|:--|:--|

| Apple | 1$ |

| Grapes | 4$ |

| Orange | 2$ |

| Lemon | 1$ |

| Peach | 3$ |

| Melon | 20$ |



以上是基础的markdown格式.

除了以上之外, 你也可以写一些复杂的语构,例如下方给出的在Boostnote里的例子。

# Latex

数学格式.

$$$

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

$$$


# 流程图

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

```


# Sequence

```sequence

Title: Here is a title

A-> B: Normal line

B -> C: Dashed line

C -> D: Open arrow

D -> A: Dashed open arrow

```


使用Boostnote👍

https://boostnote.io/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 大家好,我是IT修真院深圳分院第01期学员,一枚正直纯洁善良的web程序员。 今天给大家分享一下,修真院官网js任...
    嘴角那抹温柔阅读 13,384评论 0 3
  • Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式...
    Shi_wen阅读 204评论 0 1
  • 简单说明 如果平时做笔记,可以使用windows自带的记事本,或者 Office word;或者线上编辑器,即富文...
    hellowenqi阅读 6,502评论 1 3
  • 标题是每篇文章都需要也是最常用的格式,在 Markdown 中,如果一段文字被定义为标题,只要在这段文字前加#号即...
    TestFlight阅读 443评论 0 1
  • Markdown是什么? Markdown 是一种轻量级标记语言,创始人为約翰·格魯伯(英语:John Grube...
    junp0819阅读 457评论 0 0