nextra
nextra copied to clipboard
Feedback for “GitHub Alert Syntax”
Viewing the doc of 4.0 and trying out the playground, found that the alert syntax is a bit different from original definition. Specifically an empty line is required, which causes an unnecessary gap between the Line of icon and description.
What appears and should work in nextra:
> [!NOTE]
>
> Useful information that users should know, even when skimming content.
> [!TIP]
>
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
>
> Key information users need to know to achieve their goal.
> [!WARNING]
>
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
>
> Advises about risks or negative outcomes of certain actions.
Original GitHub Alert Syntax:
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
Hi, this was made because prettier incorrectly wrap next line on first line with alert syntax with proseWrap: 'always' | 'never' setting.