azerothcore / wiki

AzerothCore wiki based on Drassil Git-Wiki
http://www.azerothcore.org/wiki
MIT License
79 stars 557 forks source link

[Feature Request]: Support highlighted blockcode in the wiki #939

Closed Kitzunu closed 7 months ago

Kitzunu commented 7 months ago

Is your feature request related to a problem? Please describe.

Support GitHub's new highlight blockcode in the wiki

Syntax

> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

> [!WARNING]  
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]
> Negative potential consequences of an action.

[!NOTE]
Highlights information that users should take into account, even when skimming.

[!TIP] Optional information to help a user be more successful.

[!IMPORTANT]
Crucial information necessary for users to succeed.

[!WARNING]
Critical content demanding immediate user attention due to potential risks.

[!CAUTION] Negative potential consequences of an action.GitHub

Right now it shows as image

Describe the solution you'd like

.

Describe alternatives you've considered

.

Additional context

https://github.com/orgs/community/discussions/16925

Kitzunu commented 7 months ago

This is literally the only reason why I have considered moving the wiki to another solution. But if we can get this to work here, then it is golden

Kitzunu commented 7 months ago

https://github.com/azerothcore/wiki/commit/90817a158d271b6a84a2d813e67028f205b5ec0a