MarkDown基本用法
這些是從文檔總結(jié)的部分內(nèi)容桐智,僅供自己遺忘時(shí)翻閱贺氓。
1.添加圖片
格式:
2.加粗字體
MARKDOWN
格式:**文字**
3.文字鏈接
格式:[文字](鏈接)
4.字號(hào)
字號(hào) (格式:#文字)
字號(hào)(格式:##文字祟身,下方會(huì)出現(xiàn)一條線(xiàn))
字號(hào) (###文字)
字號(hào) (####文字)
字號(hào) (#####字號(hào))
字號(hào) (######文字)
#######字號(hào) (#######文字)
說(shuō)明:字號(hào)最多用6位#肋坚,就不再有用
5.段落
前方有點(diǎn)的段落
* 我的前面有個(gè)點(diǎn)
格式:* 空格 文字
6.這時(shí)候你會(huì)發(fā)現(xiàn)上面有一個(gè)方框把這個(gè)框住了泵喘,這個(gè)方框是```
7.還有一個(gè)方法就是點(diǎn)很多空格發(fā)現(xiàn)字的顏色變虛了拉队,也可以有框
Header1
=======
header2
-----------
8.如果是單行的直接用`文字`
是save
9.還有一個(gè)段落格式是前面有一條長(zhǎng)長(zhǎng)的線(xiàn)
第一段
第二段
第三小段
第四小段第五段
- 也可以搭配點(diǎn)
>第一段
>
>第二段
>
>>第三小段
>>第四小段
>
>第五段
>
> * 也可以搭配點(diǎn)
10.表格
和html寫(xiě)表格一樣
第一個(gè)頭 | 第二個(gè)頭 |
---|---|
第一個(gè)頭的第一個(gè)單元 | 第二個(gè)頭的第一個(gè)單元 |
第一個(gè)頭的第二個(gè)單元 | 第二個(gè)頭的第二個(gè)單元 |
第一個(gè)頭|第二個(gè)頭
-------|------
第一個(gè)頭的第一個(gè)單元|第二個(gè)頭的第一個(gè)單元
第一個(gè)頭的第二個(gè)單元|第二個(gè)頭的第二個(gè)單元
同樣的可以設(shè)置居左居中居右等格式
居左 | 居中 | 居右 |
---|---|---|
下面文字居左了 | 下面文字居中了 | 下面文字居右了 |
是不是 | 是不是 | 是不是 |
居左|居中|居右
:---|:---:|---:
下面文字居左了|下面文字居中了|下面文字居右了
是不是|是不是|是不是
還有一些直接搬來(lái)了
Option name | Markup | Result if enabled |
---|---|---|
Intra-word emphasis | So A*maz*ing | So A<em>maz</em>ing |
Strikethrough | ~~Much wow~~ | <del>Much wow</del> |
Underline [^under] | _So doge_ | <u>So doge</u> |
Quote [^quote] | "Such editor" | <q>Such editor</q> |
Highlight | ==So good== | <mark>So good</mark> |
Superscript | hoge^(fuga) | hogefuga |
Autolink | http://t.co | http://t.co |
Footnotes | [^4] and [^4]: | [1] and footnote 4 |
這些一般用不到,也就沒(méi)有挨個(gè)試
11.添加音樂(lè)
<div align=center><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="http:xxx.mp3?type=2&id=30375691&auto=1&height=66"></iframe></div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=430 height=86 src="http:xxx.mp3?type=2&id=114389&auto=1&height=66"></iframe>
markdown可以添加握牧,簡(jiǎn)書(shū)不支持容诬。可能因?yàn)榘鏅?quán)原因沿腰,沒(méi)辦法添加背景音樂(lè)览徒。
-
You don't have to use a number. Arbitrary things like
[^footy note4]
and[^footy note4]:
will also work. But they will render as numbered footnotes. Also, no need to keep your footnotes in order, I will sort out the order for you so they appear in the same order they were referenced in the text body. You can even keep some footnotes near where you referenced them, and collect others at the bottom of the file in the traditional place for footnotes. ?