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 callout shortcode #1167

Merged
merged 4 commits into from
May 15, 2024
Merged

Add callout shortcode #1167

merged 4 commits into from
May 15, 2024

Conversation

doup
Copy link
Contributor

@doup doup commented May 15, 2024

This PR adds a new callout() shortcode. Wrap some markdown in it to show it as a callout/alert/admonition… It implements three styles:

info (default)

image

warning

image

caution

image

Copy link
Contributor

@NthTensor NthTensor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it, love it, love it!

Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, and very useful. I'm really glad to see these used in the initial PR too.

@alice-i-cecile alice-i-cecile added C-Webdev S-Ready-For-Final-Review Ready for a maintainer to consider for merging labels May 15, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue May 15, 2024
Merged via the queue into bevyengine:main with commit 8dc12f1 May 15, 2024
10 checks passed
@doup doup deleted the feature/callouts branch May 15, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Book C-Webdev S-Ready-For-Final-Review Ready for a maintainer to consider for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants