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.填寫源代碼

對於程序員,可以寫代碼。

``` js
Render: 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(流程圖)

可以畫流程圖

``` 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記法的介紹。

更多的使用它與周圍與眾不同。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM