Callout 提示區塊

Hugo Blox 支援 Markdown 的提示區塊,也稱為提示、註解或側邊欄。

提示區塊是一個有用的功能,可以吸引讀者注意重要的內容,例如:

  • 筆記
  • 提示
  • 警告

Callout 類型

Notes 筆記

A Markdown callout is useful for displaying notices, hints, or definitions to your readers.

使用語法:

{{% callout note %}}
A Markdown callout is useful for displaying notices, hints, or definitions to your readers.
{{% /callout %}}

Warnings 警告

Here’s some important information…

使用語法:

{{% callout warning %}}
Here's some important information...
{{% /callout %}}

Tip 提示

Here’s some important information…

使用語法:

{{% callout info %}}
Here's some important information...
{{% /callout %}}