-
Notifications
You must be signed in to change notification settings - Fork 394
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
Update admonitions, making title
optional
#3389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice! I'm not sure if this is exactly what @shcheklein was thinking, but the option for an alternate minimal admonition seems pretty useful. I could see possible concerns around consistency between the two, though.
We could take off the title entirely! I wasn't sure which (asked in #3381), but for now, I made it an option 🤔 |
I think the title might be useful on some occasions. |
Leaving |
Could we make the titles similar to
This is for the sake of consistency. I don't see the current way as particularly useless and if this is too much work, we can postpone it. |
Ah yeah, I noticed that after writing this. I think it's better to have the titles as first elements as in current For linking there may be a |
Good point! I'll take off the default title option! As for using a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming default title
has been removed. Thanks @julieg18
Code Example:
Result:
Fixes #3381