GitHub Highlight Block Quote

· 94 words · 1 min

GitHub markdown 语法中支持高亮引用块,语法如下。

> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

> [!WARNING]  
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]
> Negative potential consequences of an action.

上述 markdown 语法在 GitHub 上渲染效果如下。

GitHub highlight block quote preview
GitHub
Tricks