Skip to content

Commit

Permalink
Docs: 更新 Alerts 文档顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Aug 29, 2024
1 parent aa8b50b commit ecde19a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,12 @@ math: true

<!--more-->

## Inserted Text {#inserted-text}

**Hugo** supports an **inserted text** Markdown extension:

```markdown
The author of FixIt theme is ++Lruihao++.
```

The rendered output looks like this:

The author of FixIt theme is ++Lruihao++.

## Marked Text {#marked-text}

**Hugo** supports a **marked text** Markdown extension:

```markdown
==FixIt== is an awesome Hugo theme!
```

The rendered output looks like this:

==FixIt== is an awesome Hugo theme!

## Alerts {#alerts}

{{< version 0.3.10 >}}

> This syntax is compatible with the [GitHub Alert][github-alert] Markdown extension.
Also known as callouts or admonitions, alerts are blockquotes used to emphasize critical information. An example of all five types:

```markdown {data-open=true}
Expand Down Expand Up @@ -89,7 +67,29 @@ Here is how they are displayed:
> [!CAUTION]
> Negative potential consequences of an action.
> This syntax is compatible with the [GitHub Alert][github-alert] Markdown extension.
## Inserted Text {#inserted-text}

**Hugo** supports an **inserted text** Markdown extension:

```markdown
The author of FixIt theme is ++Lruihao++.
```

The rendered output looks like this:

The author of FixIt theme is ++Lruihao++.

## Marked Text {#marked-text}

**Hugo** supports a **marked text** Markdown extension:

```markdown
==FixIt== is an awesome Hugo theme!
```

The rendered output looks like this:

==FixIt== is an awesome Hugo theme!

## Subscript {#subscript}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,12 @@ math: true

<!--more-->

## 下划线 {#inserted-text}

**Hugo** 支持一种 **下划线** Markdown 扩展语法:

```markdown
FixIt 主题的作者是 ++Lruihao++。
```

呈现的输出效果如下:

FixIt 主题的作者是 ++Lruihao++。

## 标记文本 {#marked-text}

**Hugo** 支持一种 **标记文本** Markdown 扩展语法:

```markdown
==FixIt== 是一个很棒的 Hugo 主题!
```

呈现的输出效果如下:

==FixIt== 是一个很棒的 Hugo 主题!

## 警示 {#alerts}

{{< version 0.3.10 >}}

> 这种语法与 [GitHub Alert][github-alert] Markdown 扩展语法兼容。
警示(Alerts)也被称为 **callouts****admonitions**,是用于强调关键信息的引用块。以下是所有五种类型的示例:

```markdown {data-open=true}
Expand Down Expand Up @@ -89,7 +67,29 @@ FixIt 主题的作者是 ++Lruihao++。
> [!CAUTION]
> 操作的潜在负面后果。
> 这种语法与 [GitHub Alert][github-alert] Markdown 扩展语法兼容。
## 下划线 {#inserted-text}

**Hugo** 支持一种 **下划线** Markdown 扩展语法:

```markdown
FixIt 主题的作者是 ++Lruihao++。
```

呈现的输出效果如下:

FixIt 主题的作者是 ++Lruihao++。

## 标记文本 {#marked-text}

**Hugo** 支持一种 **标记文本** Markdown 扩展语法:

```markdown
==FixIt== 是一个很棒的 Hugo 主题!
```

呈现的输出效果如下:

==FixIt== 是一个很棒的 Hugo 主题!

## 下标 {#subscript}

Expand Down

0 comments on commit ecde19a

Please sign in to comment.