markdown语法记录

markdown语法

1.标题

使用#来表示

2.段落

段落分割时,使用空白行进行

不要使用空格或者tab

要进行换行时,用回车代替html中的<br>

3.强调

使用** (中间) ** 来表示粗体
tc_7是一个聪明帅气的人

而* () *表示斜体

4.引用

使用 >来表示引用的意思

Excuse will turn your dreams into dust.

也可以嵌套引用使用>>

Life is full of confusing and disordering Particular time,a particular location,Do the arranged thing of ten million time in the brain,Step by step ,the life is hard to avoid delicacy and stiffness No enthusiasm forever,No unexpected happening of surprising and pleasing So,only silently ask myself in mind Next happiness,when will come?

使用空行来结束引用

5.列表

a.有序列表

使用 1. 巴拉巴拉 来构建有序列表,注意1. 后面要加空格

  1. tc_7真聪明
  2. 啦啦啦
  3. 啦吧啦吧

且数字的形式不一定按顺序,即
1.
1.
1.
结果与1.2.3.相同

b.无序列表

用- 来表示

  • tc_7真聪明
  • 啦啦啦
  • 啦吧啦吧

6.代码块

使用` `来包含代码
printf("tc_7 is dashuaibi");

7.分割线

要创建分隔线,请在单独一行上使用三个或多个星号 (***)、破折号 (---) 或下划线 (___) ,并且不能包含其他内容。


8.链接

链接文本放在中括号内,链接地址放在后面的括号中,链接title可选。

超链接Markdown语法代码:[超链接显示名](超链接地址 "超链接title")

对应的HTML代码:<a href="超链接地址" title="超链接title">超链接显示名

e.g. tc_7 's blog

使用<>直接表示网站或邮箱
http://www.cnblogs.com/tianc7

9.图片

图片的方式与链接类似
! [图片alt] (图片链接 "图片title")

上图

10.

Markdown 段首缩进:
&ensp; or &#8194; 表示一个半角的空格

&emsp; or &#8195; 表示一个全角的空格

&emsp; &emsp; 两个全角的空格(用的比较多)

&nbsp; or &#160; 不断行的空白格

posted @ 2023-04-12 17:43  tc_7  阅读(17)  评论(0)    收藏  举报