Description
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/docker/buildx#section-readme
What is your user agent?
All user agents
Note
Screenshot
Got unformatted alerts (e.g. [!WARNING]
) at https://pkg.go.dev/github.com/docker/buildx#section-readme:
Got formatted alerts on GitHub at https://github.com/docker/buildx:
What did you do?
View projects using markdown alerts like github.com/docker/buildx on pkg.go.dev.
Or use any of these GitHub markdown alerts in a README.md.
> [!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.
What did you see happen?
Markdown alerts are not formatted as alerts at pkg.go.dev.
For example, [!WARNING]
, [!IMPORTANT]
, and [!NOTE]
alerts are not formatted as alerts.
What did you expect to see?
Expected to see markdown alerts formatted as alerts. GitHub documentation lists these alerts:
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.
EDIT: Added note that GitHub introduced markdown alerts in 2023 as an extension to GfM (2019). Also clarified and reordered screenshots.