Markdown效果测试
Markdown learning
新学的Markdown,来看看效果!
一、段落
I really like using Markdown.
I think I'll use it to format all of my documents from now on.
二、换行
方法一:
This is the first line.
This is the second line.
方法二:
This is the first line.
First line with the HTML tag after.
And the second line.
三、强调语法
粗体
I just love boldtext.
I just love boldtext.
liveisbold(only asterisks)
斜体
Italicized text is the cat's meow.
Italicized text is the cat's meow.
Acatmeow
斜体 + 粗体
This text is really important.
This text is really important.
This text is really important.
This text is really important.
This is reallyveryimportant text.
四、引用语法
1、多个段落的块引用
Dorothy followed her through many of the beautiful rooms in her castle.
The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
2、块引用嵌套
Dorothy followed her through many of the beautiful rooms in her castle.
The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
3、带有其他元素(除段落)的块引用
HEAD
- Revenue was off the chart.
- Profits were higher than ever.
Everything is going according to the plan.
列表语法
一、有序列表
- First item
- Second item
- Third item
- Fourth item
- First Indented item
- Second Indented item
二、无序列表
- First item
- Second item
- First item
- Second item
- First item
- Second item
- First Indented item
- Second Indented item
- guess what?
- again
- guess what?
三、在列表中嵌套其他元素
段落
-
This is the first list item.
-
Here's the second list item.
I need to add another paragraph below the second list item.
-
And here's the third list item.
引用块
-
This is the first list item.
-
Here's the second list item.
A blockquote would look great below the second list item.
-
And here's the third list item.
代码块
通常缩进四个空格,在列表中请缩进八个空格
-
Open the file.
-
Find the following code block on line 21:
<html> <head> <title>Test</title> </head> </html> -
Update the title to match the name of your website.
图片
-
Open the file contacting the Linux mascot.
-
Marvel at its beauty.
-
Close the file
列表
代码语法
一、短语表示为代码
运用反引号
At the command prompt, type nano
.
双反引号
Use `code` in your Markdown file.
二、代码块
四个空格进行缩进
<html> <head> </head> </html>
分割线语法
在单独一行上使用***、---、___
链接语法
尖括号:使网址和email可点击
https://markdown.com.cn
fake@example.com
带格式化的链接(指强调和斜体)
I love supporting the EFF.
This is the *Markdown Guide
*.
See the section on code
.
引用类型链接
图片语法
链接图片
把图片的markdown括在方括号中,然后将链接添在圆括号中
![沙漠中的岩石图片(/assets/img/shiprock.jpg "Shiprock")]
转义字符语法
显示原本用于格式化的字符
* Without the backslash, this would be a bullet in an unordered list.
特殊字符自动转义
< = < & = &
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!