Skip to content

Added Callouts#1241

Draft
seankross wants to merge 1 commit into
mainfrom
callouts
Draft

Added Callouts#1241
seankross wants to merge 1 commit into
mainfrom
callouts

Conversation

@seankross
Copy link
Copy Markdown
Contributor

I've grown to like Notion Callouts and GitHub Alerts and I would like to use them in the sciwiki articles I am drafting. The following code within articles produced the styling attached:

{% capture body %}
Here is a *point* of **information**.
{% endcapture %}
{% include callout.html type="info" icon="🔎" title="Info" content=body %}

{% capture body %}
Find a tip [here]().
{% endcapture %}
{% include callout.html type="tip" icon="💡" title="Tip" content=body %}

{% capture body %}
### The computer broke! 

Maybe don't do that next time. Instead you could:

- Ride a bike
- Go for a walk
- Sing in the shower
{% endcapture %}
{% include callout.html type="error" icon="⛔️" title="Error" content=body %}

{% capture body %}
Here be dragons.
{% endcapture %}
{% include callout.html type="warn" icon="🐉" title="Warn" content=body %}

{% capture body %}
With great power comes great responsibility.
{% endcapture %}
{% include callout.html type="quote" icon="🕷️" title="Quote" content=body %}
Screenshot 2025-08-21 at 12 09 53 PM

@seankross seankross requested a review from a team as a code owner August 21, 2025 16:14
@seankross
Copy link
Copy Markdown
Contributor Author

Realizing that {: .notice--warning} and {: .notice--info} are lighter-weight versions of this that are already implemented, but these stand out more visually.

@atombaby
Copy link
Copy Markdown
Contributor

The minimal-mistakes CSS provides a way for us to customize these {notice} style callouts.

@seankross seankross marked this pull request as draft December 19, 2025 19:00
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

Successfully merging this pull request may close these issues.

2 participants