Alerts and Admonition Syntax Test

This article comprehensively tests the Alerts Markdown syntax extension and Admonition shortcode functionality in the FixIt theme.

Basic Alerts Syntax

注意

Highlights information that users should take into account, even when skimming.

提示

Optional information to help a user be more successful.

重要

Crucial information necessary for users to succeed.

警告

Critical content demanding immediate user attention due to potential risks.

小心

Negative potential consequences of an action.

Extended Alerts Syntax

Custom Titles

FixIt

A clean, elegant but advanced Hugo theme.

This is a title-only alert.

Foldable Alerts

Create foldable alerts by adding a plus (+) or minus (-) directly after the type identifier:

Radiation Hazard

Do not approach or handle without protective gear.

Are alerts foldable?

Yes! In a foldable alert, the contents are hidden when collapsed.

Nested Alerts

Alerts can be nested in multiple levels:

Can alerts be nested?
Yes! They can be nested.
You can even use multiple layers of nesting.

Content-only Alerts

This is a content-only alert without a title.

Supported types

注意

This is a note type alert example.

摘要

This is an abstract type alert example. Aliases: summary, tldr

信息

This is an info type alert example.

待办

This is a todo type alert example.

技巧

This is a tip type alert example. Aliases: hint, important

成功

This is a success type alert example. Aliases: check, done

问题

This is a question type alert example. Aliases: help, faq

警告

This is a warning type alert example. Aliases: caution, attention

失败

This is a failure type alert example. Aliases: fail, missing

危险

This is a danger type alert example. Aliases: error

Bug

This is a bug type alert example.

示例

This is an example type alert example.

引用

This is a quote type alert example. Aliases: cite

Admonition Shortcode

注意
This is the default note type admonition.
摘要
This is the default abstract type admonition. Aliases: summary, tldr
信息
This is the default info type admonition.
待办
This is the default todo type admonition.
技巧
This is the default tip type admonition. Aliases: hint, important
成功
This is the default success type admonition. Aliases: check, done
问题
This is the default question type admonition. Aliases: help, faq
警告
This is the default warning type admonition. Aliases: caution, attention
失败
This is the default failure type admonition. Aliases: fail, missing
危险
This is the default danger type admonition. Aliases: error
Bug
This is the default bug type admonition.
示例
This is the default example type admonition.
引用
This is the default quote type admonition. Aliases: cite

Special Types

This paragraph is center-aligned.