Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render the "alert" markdown extension #1343

Closed
brianquinlan opened this issue Nov 30, 2023 · 3 comments · Fixed by dart-lang/markdown#570
Closed

Render the "alert" markdown extension #1343

brianquinlan opened this issue Nov 30, 2023 · 3 comments · Fixed by dart-lang/markdown#570

Comments

@brianquinlan
Copy link
Contributor

> [!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.

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.

See https://github.com/orgs/community/discussions/16925

@shikharish
Copy link

Hello, I would like to work on this issue.

@srawlins
Copy link
Member

We would probably accept a PR implementing this, even though it is not specified in https://github.github.com/gfm/ 😠 😡 😠

You can use Markdown text boxes, like this comment box, as a testbed for what GitHub renders. I think we just want to render the right div and p elements, with specific CSS classes. The end clients will then be responsible for making those CSS classes available.

And rigorous testing 😄

@shikharish
Copy link

Thank you for the response!
I am new here; excited to contribute to the dart ecosystem!
I could not find a contributing guide to this repo(have never contributed to a dart package before). If you could help me with setting up a development environment that would be really helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants