denoland / website_feedback

For reporting issues & suggestions for deno.com and deno.land
9 stars 1 forks source link

Support styles for the already-supported blockquote-type callouts #75

Open vrugtehagel opened 2 months ago

vrugtehagel commented 2 months ago

For README files in GitHub, sometimes the following construct is used to highlight or outline a certain piece of text:

> [!CAUTION]
> This package is deprecated and unsafe. It must not be used.

…which renders as…

[!CAUTION] This package is deprecated and unsafe. It must not be used.

There are several types besides the CAUTION type, see this related discussion.

This syntax is actually already supported for packages on deno.land, but does not have associated styles. For example, I have deprecated this package, and the deprecation notice is meant to be front and center but almost blends in with other paragraphs. It does not adequately capture the user's attention.

image

Of course, styles for these type of callouts are useful beyond deprecation notices, and given the markup is supported I think some accompanying styles would be an appropriate addition.