Skip to content

Important content and general tips have reversed classes #2527

Closed
@w3teal

Description

@w3teal

Bug Report

Steps to reproduce

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.

Image Image
<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

Edit Sandbox

Mention the docsify version in which this bug was not present (if any)

?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions