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

Add support for GitHub alerts / admonitions. #258

Closed
ajh123 opened this issue Feb 27, 2024 · 5 comments
Closed

Add support for GitHub alerts / admonitions. #258

ajh123 opened this issue Feb 27, 2024 · 5 comments

Comments

@ajh123
Copy link

ajh123 commented Feb 27, 2024

Introduction

Alerts / admonitions are warning boxes which use markdown blockquotes. See the docs for more info.

Example

Markdown

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

Rendered

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.

@jaywcjlove
Copy link
Member

@ajh123 Upgrade v5.1.0

github-actions bot added a commit that referenced this issue Mar 15, 2024
@ajh123
Copy link
Author

ajh123 commented Mar 15, 2024

Thanks I will look later

@ajh123
Copy link
Author

ajh123 commented Mar 15, 2024

@jaywcjlove Everything looks good - however it appears the title of the alerts do not have their fonts set, I assume its a problem with my code instead of this library.

image

My code if you need it: https://github.com/Miners-Online/website-v2

jaywcjlove added a commit that referenced this issue Mar 15, 2024
jaywcjlove added a commit that referenced this issue Mar 15, 2024
@jaywcjlove
Copy link
Member

@ajh123 Upgrade v5.1.1

github-actions bot added a commit that referenced this issue Mar 15, 2024
@ajh123
Copy link
Author

ajh123 commented Mar 15, 2024

@jaywcjlove It looks right now, Thanks.

image

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

No branches or pull requests

2 participants