- 標題
Markdown 支持兩種標題的語法,類 Setext 和類 atx 形式狂秘。
類 Setext 形式是用底線的形式,利用 = (最高階標題)和 - (第二階標題)。
任何數量的 = 和 - 都可以有效果彩倚。類 Atx 形式則是在行首插入 1 到 6 個 # ,對應到標題 1 到 6 階扶平。
你可以選擇性地「閉合」類 atx 樣式的標題帆离,這純粹只是美觀用的,若是覺得這樣看起來比較舒適结澄,你就可以在行尾加上 #哥谷,而行尾的 # 數量也不用和開頭一樣(行首的井字符數量決定標題的階數)岸夯。
在標題之后編寫的任何文本均會成為本節(jié)的主體。
默認情況下们妥,標題已編號猜扮。您可以使用模板來更改此設置,也可以通過在標題標題后放置“ {-}”或“ {.unnumbered}”來禁用所選標題的編號:
# Header level 1
## Header level 2
### Header level 3
Level one header
=================
Level two header
-----------------
# Unnumbered header {-}
## Another unnumbered header { .unnumbered }
Header level 1
Header level 2
Header level 3
Level one header
Level two header
Unnumbered header {-}
Another unnumbered header { .unnumbered }
- 重點
單個星號之間的位斜體监婶。兩個星號之間的為粗體旅赢。
We emphasise part of a text by putting it in italic or boldface. In Markdown
we use asterisks, \* , to do this.
To put a word in italic, we use *one* asterisk and to put it in boldface weuse **two** .
Markdown中的上一節(jié)看起來像這樣:
We emphasise part of a text by putting it in italic or boldface. In Markdown
we use asterisks, \ * , to do this.
To put a word in italic, we use one asterisk and to put it in boldface weuse two .
您還將注意到,第一個星號使用反斜杠進行轉義惑惶。該反斜杠阻止Markdown將星號解釋為斜體鲜漩。
- 列表
有兩種列表:編號和未編號。
1. This is a numbered list.
2. Where this is list item two.
3. And this is list item three.
- This is a numbered list.
- Where this is list item two.
- And this is list item three.
可以混合使用星號和破折號集惋,也可以堅持使用兩者中的任何一個孕似。
* This is a numbered list
- Where this is list item two
* And this is list item three
- This is a numbered list
- Where this is list item two
- And this is list item three
嵌套列表
* This is a top-level list item
* Here is a sublist item
* Here is another
* Now we are at the top level again
- This is a top-level list item
- Here is a sublist item
- Here is another
- Now we are at the top level again
- 引用塊
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
> Author: 釘釘或微信pythontesting 釘釘群21734177 技術支持qq群:630011153 144081101
> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
>
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
> id sem consectetuer libero luctus adipiscing.
This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
Author: 釘釘或微信pythontesting 釘釘群21734177 技術支持qq群:630011153 144081101
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.
Markdown 也允許你偷懶只在整個段落的第一行最前面加上 > 。區(qū)塊引用可以嵌套(例如:引用內的引用)刮刑,只要根據層次加上不同數量的 > 喉祭,引用的區(qū)塊內也可以使用其他的 Markdown 語法,包括標題雷绢、列表泛烙、代碼區(qū)塊等:
這是一個標題。
- 這是第一行列表項翘紊。
- 這是第二行列表項蔽氨。
給出一些例子代碼:
return shell_exec("echo $input | $markdown_script");
- 原始文本
用制表符或四個空格縮進,單引號也是可以的帆疟。
'>do not use markdown'
>do not use markdown'
'>do not use markdown
>do not use markdown'
- 參考資料
- 討論qq群144081101 591302926 567351477
- 本文最新版本地址
- 本文涉及的python測試開發(fā)庫 謝謝點贊鹉究!
- 本文相關海量書籍下載
- 2018最佳人工智能機器學習工具書及下載(持續(xù)更新)
- 鏈接
This is a link to [my blog](https://china-testing.github.io/).
This is a link to [my blog][blog].
[blog]: https://china-testing.github.io/
This is a link to my blog.
[blog]: https://china-testing.github.io/
This is a link to [my blog][blog]
- 圖片

