加载头像

语法

1 标题

一级标题
二级标题
三级标题

2 字体

**
黑体

斜体


黑体加斜体
注:如果想给字体换颜色、字体或者居中显示,需要使用内嵌HTML来实现。

3 无序列表(无一二三)

在符号-后加空格使用

  • 列表1
  • 列表2
  • 子列表2.1

或者在’*'后加 空格使用

  • 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.

4 有序列表

数字及符号.后加空格后输入内容

  1. 有序列表 1
  2. 有序列表 2

5 引用

在符号>后面书写文字。

读一本好书,就是在和高尚的人谈话。 ——歌德

块引用可以包含多个段落。为段落之间的空白行添加一个 > 符号。

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.

块引用可以嵌套。在要嵌套的段落前添加一个 >> 符号。

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.

块段落里可以用一些其他元素

The quarterly results look great!

  • Revenue was off the chart.
  • Profits were higher than ever.

Everything is going according to plan.

1
另一种格式

6 代码

  • 包裹在反引号 () 中。 At the command prompt, typenano`.

  • 将代码块的每一行缩进至少四个空格或一个制表符

  1. Open the file.

  2. Find the following code block on line 21:

    <html>
      <head>
        <title>Test</title>
      </head>
    
  3. Update the title to match the name of your website.

7 链接

超链接Markdown语法代码:超链接显示名
这是谷歌

使用尖括号可以很方便地把URL或者email地址变成可点击的链接。<>
https://markdown.com.cn

链接图片
要添加图像,请使用感叹号 (!), 然后在方括号增加替代文本,图片链接放在圆括号里,括号里的链接后可以增加一个可选的图片标题文本。
这是图片

HTML

对于 Markdown 涵盖范围之外的标签,都可以直接在文件里面用 HTML 本身。如需使用 HTML,不需要额外标注这是 HTML 或是 Markdown,只需 HTML 标签添加到 Markdown 文本中即可。


引用到评论
随便逛逛博客分类文章标签
复制地址关闭热评深色模式轉為繁體