Files
yn/test/md/github-alerts.md

57 lines
1.0 KiB
Markdown

# GitHub Alerts Test
This document tests GitHub-style alert syntax supported by Yank Note.
## Note Alert
> [!NOTE]
> Useful information that users should know, even when skimming content.
## Tip Alert
> [!TIP]
> Helpful advice for doing things better or more easily.
## Important Alert
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
## Warning Alert
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
## Caution Alert
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
## Alerts with Rich Content
> [!NOTE]
> This alert contains **bold**, *italic*, and `code` formatting.
>
> It can also contain:
> - List item 1
> - List item 2
>
> And even [links](https://example.com).
> [!WARNING]
> ```javascript
> // Code blocks work inside alerts too
> console.warn("Be careful!");
> ```
## Multiple Alerts
> [!TIP]
> First tip about the feature.
> [!WARNING]
> Important warning about the same feature.
> [!NOTE]
> Additional notes to consider.