Typora 使用指南 -MarkDown基本语法学习

本文详细介绍了如何在Typora中使用Markdown的基本语法,包括标题、强调、引用、列表、代码块、分割线、超链接以及一些实用技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Typora 使用指南 -MarkDown基本语法学习

1. 标题语法

一级标题:“#” + “一级标题内容”;

二级标题:“##” + “二级标题内容”;

三级标题:”###“ + ”三级标题内容“;

# 一级标题
## 二级标题
### 三级标题
...

以此类推,至多可创建六级标题。

在严格模式下要严格遵从Markdown语法,#后面需要加上空格,建议在设置中关闭严格模式

2.强调语法

加粗:在需要加粗的部分前后加上两个”*“或”_ “,例如加粗示例1;加粗示例2

**加粗示例1** __加粗示例2__

斜体:在需要斜体的部分前后加上一个”* “或”_ “,例如:斜体示例1斜体示例2

*斜体示例1* _斜体示例2_

斜体+加粗:在需要斜体加粗的部分前后加上三个” * “或者三个”_ “, 例如斜体加粗示例

***斜体加粗示例***

删除线: 在需要删除线的部分前后加上两个“~”,例如:删除线示例

~~删除线示例~~

3.引用语法

在段落最前加上引用符号">",例如:

这是一段引用

引用可以堆叠

在引用中也可以使用标题语法和强调语法
>这是一段引用
>>引用可以堆叠
>>
>>#在引用中也可以使用标题语法和***强调语法***等

4.列表语法

###有序列表

  1. 序号1
  2. 序号2
    1. 序号2.1(Tab)
    2. 序号2.2
    3. 序号2.3
  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]
[^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

  1. Num1
  2. Num2
    1. Num2.1(Tab)
  3. 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

o 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](https://www.markdownguide.org/basic-syntax/ "markdown offical")



  1. https://markdown.com.cn/basic-syntax/links.html ↩︎

Typora是一款适合写一些程序相关的博客,因为可以用代码+快捷键的方式,方便的对文章内容进行处理,不用在担心排版和样式变形的问题了,在编辑的过程中,就能预览到效果,看到这篇文章,能让在短时间内适应Typroa的使用,一起了解一下吧! Typora介绍:Typora是一款适合写一些程序相关的博客,因为可以用代码+快捷键的方式,方便的对文章内容进行处理,不用在担心排版和样式变形的问题了,在编辑的过程中,就能预览到效果,看到这篇文章,能让在短时间内适应Typroa的使用,一起了解一下吧! ## 1标题设置 “#” + “空格” +“标题” {^"#"的个数表明几级标题} #一级标题 ##二级标题 ###三级标题 **6个#就是六级标题** 或ctrl+“数字键”{^数字是几即标题几级} Ctrl+1 一级标题 Ctrl+2 二级标题 Ctrl+3 三级标题 Ctrl加数字6就是六级标题 # 2序列 ## 2.1有序序列 “1.” + “空格” +“文字内容” 有序序列 按下换行键,第二行的排头自动出现 双击换行键,可退出序列 ## 2.2创建无序序列 “*“或”+“或”-” + “空格” + “文字内容” 无序序列 按下换行键,自动出现 双击换行键,可退出序列 ## 2.3创建可选序列 “*“或”+“或”-” + “空格” +[ ] + “空格” + “文字”{^注意,中括号内,有空格} # 3代码块 “~~~” + 使用语言的名字 ![2020-5-18 19-59-45](C:\Users\Tao\Desktop\CSDN\照片\2020-5-18 19-59-45.jpg) # 4引注 “>” + “空格”+“引注内容” # 5表格 Ctrl + T 就可以出现表格,可以一有的选择行数,也可以的选择字体位置 ![2](C:\Users\Tao\Desktop\CSDN\照片\2.jpg) # 6数字块 “$$” + “enter”就会出现输入区域($符号为英文模式下shift+4) ![3](C:\Users\Tao\Desktop\CSDN\照片\3.jpg) # 7水平线 “***“或”—” + “换行键” 效果如下 # 8脚注 { "^" + “ 注释内容 ” } # 9删除线 \~\~删除线的内容\~\~ 效果:~~删除内容~~ # 10字体加粗 使用 两个星号 或者 两个下划线 可以字体加粗,快捷键 Ctrl + B 11字体倾斜 使用 单个星号 或者 单下划线 可以倾斜字体。快捷键 Ctrl + I # 12图片的插入 {显示的文字](C:\Users\Hider\Desktop\echart.png "图片标题") {显示的文字](C:\Users\Hider\Desktop\echart.png) 还可以直接将图片拖拽进来,自动生成链接 # 13URL Typora允许用, 把URL作为链接插入。 Typora还会自动链接标准网址。 www.baidu.com ## Typora快捷键 | 快捷键 | 作用 | 快捷键 | 作用 | | :---------- | :----------------- | :----------- | :------------- | | Ctrl+1 | 一阶标题 | Ctrl+B | 字体加粗 | | Ctrl+2 | 二阶标题 | Ctrl+I | 字体倾斜 | | Ctrl+3 | 三阶标题 | Ctrl+U | 下划线 | | Ctrl+4 | 四阶标题 | Ctrl+Home | 返回Typora顶部 | | Ctrl+5 | 五阶标题 | Ctrl+End | 返回Typora底部 | | Ctrl+6 | 六阶标题 | Ctrl+T | 创建表格 | | Ctrl+L | 选中某句话 | Ctrl+K | 创建超链接 | | Ctrl+D | 选中某个单词 | Ctrl+F | 搜索 | | Ctrl+E | 选中相同格式的文字 | Ctrl+H | 搜索并替换 | | Alt+Shift+5 | 删除线 | Ctrl+Shift+I | 插入图片 | 注:一些实体符号在使用之后要加空格,还有一些实体符号需要在实体符号之前加”\”才能够显示。如有错误,还挺谅解。 tyopra下载链接:https://www.typora.io/ 参考链接1:[Typora入门(中文版)](https://www.simon96.online/2018/10/18/Typora入门(中文版)/) 参考链接2:[Typora](
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值