-
-
Notifications
You must be signed in to change notification settings - Fork 97
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 warning blockquote style, carpentries/styles#49 #475
Conversation
This looks good. Thanks, @jsta! |
What is the motivation for adding this blockquote? What type of information would this blockquote contain? |
For me, the motivation is to warn users about a change in the default setting of |
Thank you, Joseph. I think this type of information fits the description of the |
I think that distinguishing between “helpful information” = callouts vs. “warning” = potential problems makes a lot of sense. For the SWC shell lesson, for example, I would divide the current callouts like this: Callout
Warning
Dividing things up this way will make it more clear to Instructors where “extra” information (currently in callouts) is necessary vs just helpful. I might not use the label "warningerr" - maybe just "error"? Or "caution"? |
I agree with Erin's distinction. Ways that we can support instructors differentiating through content will help a lot especially for new instructors who are getting used to the material/ format of teaching . etc. for a label I like "caution" to use a distinct term for a human warning or common mistake from a compiler provided warning or error. Though we might use the "caution" to help people prevent compiler warnings and errors, having distinct terms will help in talking about things in the context of lesson development and maintainence. (after any learning curve to make people aware of the new feature). |
Makes sense. I especially like the idea of using it for things like "Deleting is forever" in the Shell lesson. |
Good discussion here! I favor |
@jsta, could you please squash the commits, add |
and one last comment from me -- I think classes are sorted alphabetically, so if you're adding |
thank you everyone! I think this is going to be a very useful to the lesson template. |
🎉 I have to clarify one thing: |
This follows from carpentries#475
This PR adds a blockquote style for warnings or errors, see #49.
See https://carpentries.github.io/lesson-example/04-formatting/index.html#special-blockquotes for a comparison against other blockquote styles. See https://getbootstrap.com/docs/3.3/components/ for a gallery of alternative icons.
If this looks good to people, I've prepared a PR to the
lesson-example
repository at: https://github.com/jsta/lesson-example/tree/warningcallout