Typora 使用指南 -MarkDown基本语法学习1. 标题语法2.强调语法3.引用语法4.列表语法有序列表无序列表5.代码语法代码代码块6.分割线语法7.超链接语法引用链接:8.插入图片9. 其他技巧Typora Using Guide – MarkDown Basic Grammar Learning1. Heading Syntax2.Emphasize Syntax3. Quote Syntax4. Listing Syntaxordered listUnordered list5. code Syntaxcode block6. Dviding line Syntax7.Hyper link
1. 标题语法
一级标题:“#” + “一级标题内容”;
二级标题:“##” + “二级标题内容”;
三级标题:”###“ + ”三级标题内容“; # 一级标题
## 二级标题
### 三级标题
…
…
以此类推,至多可创建六级标题。
在严格模式下要严格遵从Markdown语法,#后面需要加上空格,建议在设置中关闭严格模式
2.强调语法
加粗:在需要加粗的部分前后加上两个”*“或”_ “,例如加粗示例1;加粗示例2
**加粗示例1** __加粗示例2__
斜体:在需要斜体的部分前后加上一个”* “或”_ “,例如:斜体示例1;斜体示例2
*斜体示例1* _斜体示例2_
斜体+加粗:在需要斜体加粗的部分前后加上三个” * “或者三个”_ “, 例如斜体加粗示例
***斜体加粗示例***
删除线: 在需要删除线的部分前后加上两个“~”,例如:删除线示例
~~删除线示例~~
3.引用语法
在段落最前加上引用符号”>”,例如:
这是一段引用
引用可以堆叠
在引用中也可以使用标题语法和强调语法等
>这是一段引用
>>引用可以堆叠
>>
>>#在引用中也可以使用标题语法和***强调语法***等
4.列表语法
有序列表
- 序号1
- 序号2
- 序号2.1(Tab)
- 序号2.2
- 序号2.3
- 序号3(shift + tab)
序号后的句号必须是英文句号,严格模式中必须要在句号后添加空格
无序列表
在每个需要无序列表的段落前添加”*“或者” – “或者” + “
例如:
- 无序列表1
- 无序列表2
- 无序列表2.1(tab)
- 无序列表3(shift + tab)
* 无序列表1
+ 无序列表2
无序列表2.1
– 无序列表3
5.代码语法
代码
在代码的前后加上反引号” `“,如
这是一段代码
代码块
在代码的前后加上三个反引号” `“,如 void mian
{
printf(“hello world”)
}
6.分割线语法
在需要添加分割线的地方单独一行输入三个或以上的” * “或” – “或”_’
***
—
___
Markdown官方手册中提到,为了兼容,建议在分割线前后都空一行。
7.超链接语法
语法如下:
[超链接显示名](超链接地址 "超链接title")
例如:Markdown官方教程链接-放入超链接的方法 [Markdown官方教程链接-放入超链接的方法](https://markdown.com.cn/basic-syntax/links.html “把鼠标放到链接显示名上就会看到这段话”)
不需要命名的网址和邮箱地址可以直接用尖括号括起来
https://markdown.com.cn/basic-syntax/links.html <>
引用链接:
在引用的话之后加上^和[1]即可
可以将链接的第二部分放在Markdown文档中的任何位置。有些人将它们放在出现的段落之后,有些人则将它们放在文档的末尾 1
[1] https://markdown.com.cn/basic-syntax/links.html [^1]
[^1]:https://markdown.com.cn/basic-syntax/links.html
8.插入图片
待续
9. 其他技巧
\后加功能符号可以显示符号,如#
\#
Typora Using Guide – MarkDown Basic Grammar Learning
1. Heading Syntax
heading level one: “#” + ” the heading level one”
heading level two: “#” + “the heading level two”
heading level three: “#”+ “the heading level three” # heading level one
## heading level two
### heading level three
…
…
In a similiar fastion, six level heading can be created at most.
The severity grammar in markdown must be strictly adhered in the “severity mode”, like # needs to be followed by a space, it’s recomended to close “severity mode ” in settings.
2.Emphasize Syntax
Bold: to bold certian words, add two “*” or “_” before and after the words ,e.g. Bold Example 1;Bold Example2.
**Blod Example1**;__Bold Example2__
Italic: to ltalic cartian words, add one “*” or “” before and after the words, e.g. Italic Example1; _Italic Example 2.
*Italic Example 1*;_Italic Example2_
Bold & Italic : combine Bold and Italic. e.g. Blod & Italic Example
***Bold & Italic Example
Strikethrough: To strikethrough certian words, add two “~” before and after the words, e.g strikethrough example
~~strikethrough example~~
Highlight: To highlight certain words, add two “==” before and after the words,e.g. highlight example
==highlight example==
3. Quote Syntax
Add the symbol “>” in the top of the Paragraph.e.g.
This is a quote
quote can be staked
#The other grammars like Heading and emphasize can also be used in the quote part
>This is a quote
>>quote can be staked
>>#THe other grammars like Heading and ***emphasize*** can also be used in the quote part
4. Listing Syntax
ordered list
- Num1
- Num2
- Num2.1(Tab)
- Num3(Shift + Tab)
The period dot must be English style
Unordered list
Add a “*” or “+” or “-” in the top of the paragraph to make a unordered list
e.g.
- unordered list No.1
- unorderded list No.2(tab)
- Unordered list No.2.1(shift + tab)
- unordered list No.3
* unordered list No.1
+ unordered list No.2(tab)
unordered list No.2.1(shift + tab)
* unordered list No.3
5. code Syntax
To add a code in the article, add the “`” before and after the code. e.g. this is a code
code block
add three “`” in the top of the paragraph and choose the programming language.
e.g. void mian()
{
printf(“hello world”)
}
6. Dviding line Syntax
add three “*” in the top of the paragraph.
e.g.
***
7.Hyper link
The pacific syntax as follows:
[syperlink name](syperlink address "syperlink title")
e.g.Markdown guide


