You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Important content and general tips have reversed classes #2527
Create !> **Time** is money, my friend! and ?> _TODO_ unit test
Current behaviour
The !> is produce an element with class tip, meanwhile the ?> is produce an element with class warn (Which stands warning). I think the class is mixed up because the style doesn't follow the meaning of the class.
<p class="tip">
<p class="warn">
Expected behaviour
Use more appropriate and clear classes for each callout. Using the .tip and .warn classes might still make sense after being reversed.
Other relevant information
Docsify version: 4.13.1
Bug still occurs when all/other plugins are disabled?
Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue): No
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
changed the title [-]Important content (!>) and general tips (?>) have reversed classes[/-][+]Important content and general tips have reversed classes[/+]on Jan 20, 2025
Activity
paulhibbitts commentedon Jan 19, 2025
Thanks for reporting this issue @LIGMATV . Docsify v5 is under development and should address this issue, you can preview the improved support for GitHub style callouts in the PR #2487 and an example Preview build at https://docsify-preview-docsifyjs.vercel.app/preview/#/ (the UI Kit example page at https://docsify-preview-docsifyjs.vercel.app/preview/#/ui-kit might be of particular interest)
[-]Important content (!>) and general tips (?>) have reversed classes[/-][+]Important content and general tips have reversed classes[/+]paulhibbitts commentedon Jan 22, 2025
I am closing this assuming the issue is not present in Docsify v5, please re-open if not the case.