feat(i18n): add i18n support for Markdown alert (#1269)

* docs: add blockquote with custom alert title

* feat: add alert types to i18n and update blockquote rendering

* fix: wrong translation key

* feat: add alert title translation for all supported languages

Done by AI
This commit is contained in:
Jimmy
2026-02-18 20:07:59 +01:00
committed by GitHub
parent 470295171e
commit 3a0d70ebbd
35 changed files with 254 additions and 18 deletions
+6 -3
View File
@@ -49,16 +49,19 @@ The blockquote element represents content that is quoted from another source, op
### Blockquote with alert
> [!NOTE]
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
> [!NOTE] Custom title
> You can also provide a custom title for the note alert.
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]