想要设置 —>YAML Front Matters
三个减号 然后enter
|
|
[TOC]
诗的引用
- 引用:
一盏灯,一处昏黄;一简书,一杯淡茶.守着那一份淡定,品读属于自己的寂寞.保持淡定,才能欣赏到最美丽的风景!保持淡定,人生从此不再寂寞.
朝辞白帝彩云间
千里江陵一日还
两岸猿声啼不住
轻舟已过万重山
|
|
粗体和斜体
|
|
斜体
粗体
粗体
制表
command + T
注意:表格在从多到少的过程中,多出的部分会被自动删除掉,当然,我可以command + Z
| 超赞啊 | 这是第二 | 这是第三 | 这是第四 | ||
|---|---|---|---|---|---|
| 这是第 | |||||
| 这是第col2,row5 | |||||
来看看代码和数学公式输入:
代码
行内代码
这是行内代码这是左右二边加了一个`
|
|
|
|
function test() {
console.log(“notice the blank line before this function?”);
}
|
|
function test() {
console.log(“notice the blank line before this function?”);
}
数学式子
|
|
$$
\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
\mathbf{i} & \mathbf{j} & \mathbf{k} \
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \
\end{vmatrix}
$$
用$$ 开头 用$$结尾
task list
- [ ] 在后面还有一个空格,依次输入 -,空格,[,空格,],空格. 这样六个字符…..
- [ ] complete
|
|
- [x]
有序和无序列
无序
|
|
- list1
- list
- list
- list - list2 - list
- list
|
|
- asfa
- asff
- sdf
- sfff
- ad
- sfff
- sdf
- asff
有序
|
|
- name
- property
- test
-
超链接
第一种情况
|
|
This is an example inline link. ( 这个和下面这一行没什么区别啊!!)(加了一个title属性,然并卵)
This link has no title attribute.
第二:参考式[link text][name]
|
|
([id]: http://example.com/ "Optional Title Here")(原来这个是这样用! 必须是www.baidu.com)
- 下面是一个参考式链接的范例:
I get 10 times more traffic from Google than from
Yahoo or MSN.
- 如果改成用链接名称的方式写:(这样就省略了name,直接用前面的来做name)
I get 10 times more traffic from Google than from
Yahoo or MSN.
- 下面是用行内式写的同样一段内容的 Markdown 文件,提供作为比较之用:
I get 10 times more traffic from Google
than from Yahoo or
MSN.(和用二个[]的做比较而已)
参考式总结:参考式的链接其实重点不在于它比较好写,而是它比较好读
然而,最简单的超链接
<http://example.com/> 右右一个< > 就搞定了
图片
下面来插入图片 格式:
|
|

参考式的图片语法则长得像这样:
1![Alt text][id]

「id」是图片参考的名称,图片参考的定义方式则和连结参考一样:
第二种情况(显示链接中带括号的图片)
链接中带括号,所以用二个[];
删除线
删除掉自己 这个是在左右二边分别加上二个~~ 这样写删除线
制表符\
#
\
*
Markdown 支持以下这些符号前面加上反斜杠来帮助插入普通的符号:
\ 反斜线
` 反引号
- 加号
- 减号
. 英文句点
! 惊叹号
Emoji
:smile: 这个是这样打出来的: :smile: 左右一个冒号
¥100!!!
H~2~O
H^2^
下划线产
You can create footnotes like this[^footnote].
[^footnote]: Here is the text of the footnote.
|
|
我来试试角注,这个世界谁最帅^答案.
水平分隔线
Input *** or --- on a blank line and press return will draw a horizontal line.
Inline Formatting 行内样式
The following is a list of optional inline markups supported:
| Option name | Markup | Result if enabled | |
|---|---|---|---|
| Intra-word emphasis | So A*maz*ing | So Amazing | |
| Strikethrough | ~~Much wow~~ | ||
| Underline [^under] | _So doge_ | So doge | |
| Quote [^quote] | \”Such editor\” | Such editor |
|
| Highlight(高亮) | \==So good\== | So good | |
| Superscript | hoge\^(fuga) | hogefuga | |
| Autolink | http://t.co | http://t.co | |
| Footnotes | [\^4] and [\^4]: | [^4] and footnote 4 |
Happy writing! [^4]
[^4]: test from by
[^emphasize]: If Underlines is turned on, _this notation_ will render as underlined instead of emphasized